salsanci / YRShell

A shell for arduino arm based systems
MIT License
3 stars 0 forks source link

How to set/read GPIO? #27

Open prof-braino opened 6 years ago

prof-braino commented 6 years ago

From caskaz:

I try to set GPIO. I want to set value to GPIOx_MODER and GPIOx_ODR. How does value set to memory? There is no "L!".

prof-braino commented 6 years ago

can't access gpio directly, we must add a words. example is in examples: LEDshell.ino

In setup, setup the pin per that arduino (for that pin on that ardduino)

see LED state