Programme de mise en bouche
Dependencies: SeeedGrayOLED mbed
Fork of seeed_arch_pro_oled by
Revision 2:481ff03f0c92, committed 2017-01-24
- Comitter:
- mr_cub3
- Date:
- Tue Jan 24 18:36:26 2017 +0000
- Parent:
- 1:965b23180062
- Commit message:
- blabla
Changed in this revision
main.cpp | Show annotated file Show diff for this revision Revisions of this file |
diff -r 965b23180062 -r 481ff03f0c92 main.cpp --- a/main.cpp Sat Dec 20 06:55:21 2014 +0000 +++ b/main.cpp Tue Jan 24 18:36:26 2017 +0000 @@ -15,7 +15,7 @@ DigitalOut myled(LED1); -SeeedGrayOLED SeeedGrayOled(P0_10, P0_11); +SeeedGrayOLED SeeedGrayOled(p9, p10); int main() { @@ -29,7 +29,7 @@ for(char i=1; i < 11 ; i++) { SeeedGrayOled.setTextXY(i,0); //set Cursor to first line, 0th column SeeedGrayOled.setGrayLevel(i); //Set Grayscale level. Any number between 0 - 15. - SeeedGrayOled.putString("Hello World"); //Print Hello World + SeeedGrayOled.putString("FUCK YEAH!!"); //Print whatever the fuck you want wait_ms(1.0); }