Shahariar Hossain / Mbed OS FRDM-K82F_8x8LED_Matrix_nochip
Embed: (wiki syntax)

« Back to documentation index

Show/hide line numbers main.cpp Source File

main.cpp

00001 // copyleft by suntopbd 23.5.18
00002 /*
00003 PINOUT
00004 https://os.mbed.com/platforms/FRDM-K82F/#board-pinout
00005 should work with any other board with 16 I/O available
00006 */
00007 
00008 #include "mbed.h"
00009 #include "Char_Fonts.h"
00010 
00011 int main() 
00012 
00013 {
00014  disp_off();
00015  speed_down(0.3);
00016  gap_up(0.1);
00017     
00018     while (1) 
00019     {
00020           // Prints A QUICK BROWN FOX JUMPED OVER THE LAZY DOGS !  //
00021           
00022      space(); // show a blank display     
00023      A();space();
00024      Q();U();I();C();K();space();
00025      B();R();O();W();N();space();
00026      F();O();X();space();
00027      J();U();M();P();E();D();space();
00028      O();V();E();R();space();
00029      T();H();E();space();
00030      L();A();Z();Y();space();
00031      D();O();G();S();
00032      space(); // show a blank display
00033      Amark();
00034              
00035     }
00036 
00037 //..........................................//
00038 }