Isabelle Murollo
/
Projeto_CCM_Maquinas_MotorDC
Centro de Controle de Motores parte 2
teste_lcd.txt
- Committer:
- isabellemm
- Date:
- 16 months ago
- Revision:
- 5:6f3ae0856d64
- Parent:
- 4:1dcc28a7a849
File content as of revision 5:6f3ae0856d64:
#include "mbed.h" #include "TextLCD.h" Serial pc(USBTX, USBRX); I2C i2c_lcd(I2C_SDA, I2C_SCL); // SDA, SCL >>> NUCLEO: D14,D15 TextLCD_I2C lcd(&i2c_lcd, 0x7e, TextLCD::LCD20x4); int main(){ //Inicializando display LCD lcd.setCursor(TextLCD::CurOff_BlkOn); lcd.setBacklight(TextLCD::LightOn); lcd.printf("Oie!"); }