Test The Lcd Display - Keysight Technologies U3810A Getting Started Manual

Advanced iot teaching solution
Table of Contents

Advertisement

Test the LCD Display

In this task you will compile and run the first program. This is a program that checks the I
bus and tests the LCD display by an animation of the characters.
1
Type ./LCDAnimation command to run the LCD Animation code.
If the file does not exist, enter the following command to recompile the code.
NOTE
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.
If the I
NOTE
The I2C Bus 2 is not available. Please check /dev/i2c-2
If the LCD display is not detected by the I
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.
Keysight U3810 Series Getting Started Guide
C bus is missing, this error message will be displayed:
2
2
C bus, this error message will be displayed:
2
C
51

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents