Keysight U3810 Series Getting Started Guide
51
Test the LCD Display
In this task you will compile and run the first program. This is a program that checks the I
2
C
bus and tests the LCD display by an animation of the characters.
1
Type ./LCDAnimation command to run the LCD Animation code.
NOTE
If the file does not exist, enter the following command to recompile the code.
gcc M1_L1_LCDAnimation.c -l mraa -o LCDAnimation
When the program is executed, you should see an animation on the LCD as shown below.
NOTE
If the I
2
C bus is missing, this error message will be displayed:
The I2C Bus 2 is not available. Please check /dev/i2c-2
If the LCD display is not detected by the I
2
C bus, this error message will be displayed:
Failed to initialize display
Check i2cdetect -r -y 2 for 0x3E
2
Press
Ctrl + C
in the PuTTY window to stop the LCD animation program.
debian@beaglebone:~/LabCode/M1-L1$ ./LCDAnimation
LCD Animation Program Running...Hit Control-C to Exit.
Содержание U3810A
Страница 1: ...Keysight U3810A Advanced IoT Teaching Solution Getting Started Guide ...
Страница 78: ...Keysight U3810 Series Getting Started Guide 78 IMU Characteristics from the LSM9DS1 datasheet ...
Страница 131: ...Keysight U3810 Series Getting Started Guide 131 ...
Страница 132: ...Keysight U3810 Series Getting Started Guide 132 Disassembly ...