120_robot_H_Bridge8835_UserButton_DIR_PWM_I2C_LCD

Dependencies:   LCD_i2C_JDS

Embed: (wiki syntax)

« Back to documentation index

Show/hide line numbers LCD_Bua.h Source File

LCD_Bua.h

00001 lcd mylcd;
00002 PwmOut M1_PWM(D9); 
00003 DigitalOut M1_DIR(D7);         
00004 
00005 void Ausgabe_LCD (void)
00006 {
00007     mylcd.cursorpos(0x00);
00008     mylcd.printf(" Hallo robot");
00009     mylcd.cursorpos(0x40);
00010     //mylcd.printf("speed: %1.1f", M1_PWM);
00011     mylcd.printf("DIR: %2d", M1_DIR);
00012 }