4/11/2021 7:01 PM | |
Joined: 4/10/2021 Last visit: 3/18/2022 Posts: 1 Rating:
|
Dear bergmanu, I'am starting to play with iot 2050 (1YA2), I follow the SIMATIC_IOT2050_Setting_up_V1.0.pdf without problems. Now I want to complete "Install_Eclipse_SDK_Linux_V1.0.pdf" I download the github project meta-iot2050 and I'm trying to build sdk image to program in c++. I have a question: - Where I can find (if exists) the mapping and the datailed description for all the integrated IO (i.e. user led is mapped to /sys/class/Leds ) and for other interfaces (i.e. iot2000 IO shield)? - Is there a library (c++) inside iot image to interface with GPIO? Thank you for your help ATB ------------------------------------------------------------------------------------------ |
Last edited by: Jen_Moderator at: 04/12/2021 11:07:07New subject after splitting |
|
4/13/2021 11:04 AM | |
Joined: 4/28/2015 Last visit: 9/25/2023 Posts: 3257 Rating:
|
Hi, for programming the GPIOs you can use the integrated mraa library. A description of the while library can be found here: https://iotdk.intel.com/docs/master/mraa/. For a code snipped based on our SIMATIC I/O Modules see here. Best regards! |
Follow us on