Community
cancel
Showing results for 
Search instead for 
Did you mean: 
nkesw
Beginner
869 Views

Assistance with GPIO issue Intel Edison

Jump to solution

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
49 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
50 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

Eliza_D_Intel
Employee
49 Views
Hello nkesw, Please let us know if you have further question on this subject. Thank you and best regards, Eliza
Reply