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.
main.cpp
00001 #include "mbed.h" 00002 #include "rows.hpp" 00003 00004 static const signed char * const table[73] = { 00005 row00, row01, row02, row03, row04, row05, row06, row07, row08, row09, 00006 row10, row11, row12, row13, row14, row15, row16, row17, row18, row19, 00007 row20, row21, row22, row23, row24, row25, row26, row27, row28, row29, 00008 row30, row31, row32, row33, row34, row35, row36, row37, row38, row39, 00009 row40, row41, row42, row43, row44, row45, row46, row47, row48, row49, 00010 row50, row51, row52, row53, row54, row55, row56, row57, row58, row59, 00011 row60, row61, row62, row63, row64, row65, row66, row67, row68, row69, 00012 row70, row71, row72, 00013 }; 00014 00015 DigitalOut myled(LED1); 00016 00017 int main() 00018 { 00019 while ( 1 ) 00020 { 00021 for ( int i = 0; i < 73; i++ ) 00022 for ( int j = 0; j < 726; j++ ) 00023 { 00024 if ( table[i][j] > 0 ) 00025 myled = 1; 00026 else 00027 myled = 0; 00028 wait(0.2); 00029 } 00030 } 00031 }
Generated on Wed Jul 13 2022 15:29:24 by
