Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: DigitDisplay mbed
main.cpp
00001 #include "mbed.h" 00002 #include "DisplayManager.h" 00003 00004 using namespace std; 00005 00006 int main() { 00007 // use connector D3 on the sensor shield board 00008 DisplayManager display(D3, D4); 00009 //DigitDisplay display(D3, D4); 00010 00011 display.clear(); 00012 char chars[] = "jon and mike are cool dudes"; 00013 00014 while (true) { 00015 display.showMessage(chars, sizeof(chars)); 00016 /* 00017 display.writeRaw(0, 0x01); 00018 wait(5); 00019 display.writeRaw(0, 0x02); 00020 wait(5); 00021 display.writeRaw(0, 0x04); 00022 wait(5); 00023 display.writeRaw(0, 0x08); 00024 wait(5); 00025 display.writeRaw(0, 0x10); 00026 wait(5); 00027 display.writeRaw(0, 0x20); 00028 wait(5); 00029 display.writeRaw(0, 0x40); 00030 wait(5); 00031 */ 00032 } 00033 }
Generated on Wed Jul 13 2022 00:59:41 by
1.7.2