Elena Tosetti
/
Nucleo_toggle_ios_EXAMPLE
My GPIO tests
Fork of Nucleo_toggle_ios by
main.cpp
- Committer:
- tulanthoar
- Date:
- 2017-04-21
- Revision:
- 0:04d55bfd084e
- Child:
- 2:2ac6cdd61c87
File content as of revision 0:04d55bfd084e:
#include "mbed.h" #define IOS (0xA0) // PA_5 + PA_7 PortOut myIOs(PortA, IOS); int main() { while(1) { myIOs = myIOs ^ IOS; // Toggle IOs level wait(0.5); // 500 ms } }