mipractica del gato
Dependencies: mbed FXOS8700Q TextLCD
main.cpp
- Committer:
- thesad
- Date:
- 2020-05-31
- Revision:
- 1:8e578e64ea6f
- Parent:
- 0:02d3a625e214
File content as of revision 1:8e578e64ea6f:
#include "mbed.h" #include "C12832.h" C12832 lcd(SPI_MOSI, SPI_SCK, SPI_MISO, p8, p11); int main() { int i; while(1){ lcd.cls(); lcd.locate(1,1); lcd.printf("Hello There"); lcd.locate(1,15); lcd.printf("Eres bienvenido"); for (int i = 0 ; i < 60; i++) { lcd.locate(80, 15); lcd.printf(">w< %d",i); wait(1); lcd.copy_to_lcd(); } } }