The very basics of DigitalOut
Not having written any C++ before (I did C about 20 years ago and know java) I imported a HelloWorld example and hacked it to make the 4 onboard LEDs count in binary.
http://mbed.org/users/simno/programs/BinaryLEDDisplay/latest
I then changed it to use pins 5 to 8 so that I could use external LEDs.
http://mbed.org/users/simno/programs/ExternalLEDBinaryDisplay/latest
0 comments
You need to log in to post a comment