Closed pablosun closed 6 years ago
Note that, for Arduino Uno,
1) analogWrite()
can be called after digitalWrite
and pinMode
2) However, calling digitalWrite
after analogWrites
does not work. See https://forum.pjrc.com/threads/9-digitalWrite-doesn-t-work-after-analogWrite-on-the-same-pin
3) To call digitalWrite
after analogWrite
, pinMode
must be called again to put the pin back to GPIO mode.
We'll follow the same behavior for LinkIt 7697.
The following example does not work on BSP v0.9.6: