Intel® Makers
Intel® Edison, Intel® Joule™, Intel® Curie™, Intel® Galileo
Announcements
Welcome - This is a Peer-to-Peer Forum only. Intel has discontinued these products but you may find support from other customers on this Forum
9872 Discussions

Assistance with GPIO issue on Intel Edison

nkesw
Beginner
939 Views

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 

Aborted

 

0 Kudos
1 Reply
afzaalahmadzeeshan
118 Views

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?

Reply