2 ///@brief a lcd debug example
4 ///@brief we need the I2C functionality
6 ///@brief we want to use the LCD
8 #include "/eagleoutice/projects/github/eBoard/eBoard.h"
9 /// @brief the board object
11 /// @brief the lcd object
13 /// @brief the dBoard object
14 DynamixelBoard dBoard(board);
17 AX12Servo links(dBoard,1);
18 /// @brief right servo
20 AX12Servo rechts(dBoard,2);
22 @note you can copy paste this code into your ARDUINO IDE - keep in mind to change the path!
24 Compiled Size for ARUDINO UNO: 8,526 bytes => 3.0: 7,278 bytes \n
25 Compiled Size for ARUDINO MEGA: 10,058 bytes => 3.0: 8,242 bytes
29 links.storePosition(40);
30 rechts.storePosition(200);
34 lcd.print(links.getPosition());
35 lcd.print(1,0,rechts.getPosition());
38 lcd.changeBackground(true);
39 lcd.print(2,0,links.getPosition());
40 lcd.print(3,0,rechts.getPosition());