Andriy Ribalko / Mbed 2 deprecated Current_load1

Dependencies:   TextLCD mbed

main.cpp

Committer:
andrey_als
Date:
2018-02-11
Revision:
0:79d0d21086e0

File content as of revision 0:79d0d21086e0:

#include "mbed.h"
#include "TextLCD.h"
#define AddrDisp 0x4E

//------------------------------------
//STM32F030F4P6

//------------------------------------

I2C i2c_lcd(D5,D7); //SDA - D5(PB_4), SCL - D7(PA_8),  (I2C_SDA,I2C_SCL);

//Инициализация дисплея
//Изменить в TextLCD_Config.h #define LCM1602        1
//TextLCD_I2C lcd(&i2c_lcd, AddrDisp, TextLCD::LCD16x2);

int main()
{
    i2c_lcd.frequency(400*1000);
    //lcd.setBacklight(TextLCD::LightOn);
    //lcd.setCursor(TextLCD::CurOff_BlkOff);
    //lcd.printf("Hello World!\n");
    //lcd.printf(" Привет Андрей!\n  Hello word!"); //ЁёІікод символа в восьмеричной системе
    while (1) {
    }

}