Chris Styles
/
EA_PCA9532_HelloWorld
Simple Hello World for the PCA9532 on the Embedded Artists Baseboard
main.cpp
- Committer:
- chris
- Date:
- 2010-05-07
- Revision:
- 1:bd3f6bfeebac
- Parent:
- 0:deb3f7947394
File content as of revision 1:bd3f6bfeebac:
#include "mbed.h" #include "PCA9532.h" PCA9532 leds (p28, p27, 0xc0); int main() { while (1) { leds.SetLed(0xffff, MODE_ON); wait (0.2); leds.SetLed(0xffff, MODE_OFF); wait (0.2); } }