10/12/2021 4:45 AM | |
Joined: 4/20/2021 Last visit: 1/26/2023 Posts: 70 Rating: (0) |
Hi all I have a Siemens iot 2050 and I would like program a flow code using python. Has someone some tutorials or example to do thanlt? I added a gpio io too and I would like to ask which library is needed to manage that pins. Many thanks in advance Best regards ------------------------------------------------------------------------------------------ |
Last edited by: Jen_Moderator at: 10/12/2021 09:45:58New subject after splitting |
|
10/12/2021 1:04 PM | |
Joined: 4/28/2015 Last visit: 3/23/2024 Posts: 3345 Rating: (377)
|
Hi, for the GPIOs you need to use the mraa library. Here you can find an example for the IOT2040 with the Siemens I/O Shield. This works as well for the IOT2050. If you don't use the Siemens I/O shield you use the pins "as they are". Means GPIO2 is pin 2. Best regards! |
Not working for IOT2050 support anymore from March 1st, 2024. |
|