Hi, I keep getting the following problem when trying to test my intel edison on a gateway device I built. This gateway is supposed to connect with another sensor we built but we keep getting the following problem when testing the gateway:
terminate called after throwing an instance of 'std: : invalid argument'
what(): Invalid GPIO pin specified
That means that you are passing an incorrect argument to your code; which happens to be a pin.
Would it be possible that you share your overall structure for this project? It is impossible to tell what might be going wrong. Also, have you tried changing the values, or the pins?