MYD-Y7Z010/007S Board Linux Development Manual
MYIR Electronics Limited
|
9
/
14
5.1 LED
This example demonstrates how to use LED by Linux API, please refer to the source codes for
detailed information.
Copy
the executable file “led-test” from directory "<WORKDIR>/Examples/led-test" to the
development board, and connect J8 to PC. Execute the following command and the LED on the
development board, will flash rapidly:
# ./led-test
5.2 CAN
This example demonstrates how to use CAN by Linux API, please refer to the source codes for
detailed information.
Copy
the executable file “can-test” from directory "<WORKDIR>/Examples/can-test" to the
development board, and connect J8 to PC. Execute the following command:
(Note: please connect the can interface on the board with the external can device to test the can
communication)
# ./can-test