User manual
Page | 75
root@SBC8140:# echo 0 > /sys/class/leds/led2/brightness
4. Execute the following instructions to test LED3;
root@SBC8140:# echo 1 > /sys/class/leds/led3/brightness
root@SBC8140:# echo 0 > /sys/class/leds/led3/brightness
When executing each instruction, the corresponding LED will be turned on
or turned off.
3.8.2 Testing a Touch-Screen
Boot up the SBC8140 from NAND Flash and start testing;
1. Execute the following instruction to calibrate the touch-screen;
root@SBC8140: # ts_calibrate
Touch all the “+” marks on the screen by following the screen prompt
information to finish calibration;
2. Execute the following instruction to test the touch-screen;
root@SBC8140: # ts_test
Draw points and lines on the screen as you see the prompt information to
proceed with testing;
3.8.3 Testing the RTC
The SBC8140 has a hardware clock which can store and recover the
system clock; please carry out testing of the RTC through the following
steps;
1. Execute the following instruction to set system clock to 8 pm,
Aug. 8
th
, 2011;
root@SBC8140 : # date 080820002011
The information in HyperTerminal window is shown below;
Mon Aug 8 20:00:00 UTC 2011
2. Execute the following instruction to write the system clock into
RTC;
root@SBC8140: # hwclock -w
3. Execute the following instruction to read the RTC;