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
9881 Discussions

Assistance with GPIO issue Intel Edison

nkesw
Beginner
969 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 Solution
Eliza_D_Intel
Employee
149 Views
Hello nkesw, Thank you for your interest in the Intel Edison Board. This error message seems to be related to the code you are using. What are the GPIO PINS you have used and how are you declaring them in the code? This error message came up before, as the PIN declared and used was reserved for some other action. For example, you can check this thread: https://forums.intel.com/s/question/0D50P0000490AFRSA2/cant-use-gpio-77-with-mraa You can check if you are using a reserved PIN in this table: https://github.com/intel-iot-devkit/mraa/blob/master/docs/edison.md#intelr-breakout-board Best regards, Eliza

View solution in original post

2 Replies
Eliza_D_Intel
Employee
150 Views
Hello nkesw, Thank you for your interest in the Intel Edison Board. This error message seems to be related to the code you are using. What are the GPIO PINS you have used and how are you declaring them in the code? This error message came up before, as the PIN declared and used was reserved for some other action. For example, you can check this thread: https://forums.intel.com/s/question/0D50P0000490AFRSA2/cant-use-gpio-77-with-mraa You can check if you are using a reserved PIN in this table: https://github.com/intel-iot-devkit/mraa/blob/master/docs/edison.md#intelr-breakout-board Best regards, Eliza
Eliza_D_Intel
Employee
149 Views
Hello nkesw, Please let us know if you have further question on this subject. Thank you and best regards, Eliza
Reply