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: mbed Flipper_Affichage WS2812 PixelArray
main.cpp
00001 #include "mbed.h" 00002 #include "Flipper_Affichage.h" 00003 00004 #define BANDE 9 00005 /* 00006 0= noir 0x000000 00007 1= rouge 0xff0000 00008 2= vert 0x00ff00 00009 3= bleu 0x0000ff 00010 4= jaune 0xffff00 00011 5= marron 0x582900 00012 6= blanc 0xffffff 00013 7= rose 0xFA25CB 00014 8= gris 0x606060 00015 9= violet 0x7f00ff 00016 */ 00017 00018 00019 int main() 00020 { 00021 00022 while(1) 00023 { 00024 InitDisplay('i','n',5,6,BANDE); 00025 InitDisplay('f','o',7,8,BANDE); 00026 Display(); 00027 wait(3); 00028 NewDisplay(); 00029 InitDisplay('c','e',5,6,BANDE); 00030 InitDisplay('s','t',7,8,BANDE); 00031 Display(); 00032 wait(3); 00033 NewDisplay(); 00034 InitDisplay('t','r',5,6,BANDE); 00035 InitDisplay('o','p',7,8,BANDE); 00036 Display(); 00037 wait(3); 00038 NewDisplay(); 00039 InitDisplay('b','i',5,6,BANDE); 00040 InitDisplay('e','n',7,8,BANDE); 00041 Display(); 00042 wait(3); 00043 NewDisplay(); 00044 } 00045 00046 } 00047 00048 00049
Generated on Sat Jul 16 2022 21:31:20 by
1.7.2