V850ES/Jx3H – Plug it!
11.2 “Jx3-H_PLUGIT_DEMO” sample program
This sample program is a simple random number generator between 0 and 9 to demonstrate the usage of
the Jx3-H_PLUGIT_DEMO starterkit. After starting the generator by pressing SW3 the segments of the
seven-segment-LED are flashing until a random number is generated by pressing SW4. The generated
number is displayed and flashes at the seven-segment-LED U3. To start a new generation loop, please
press again SW3.
Figure 34: Project Window Jx3-H_PLUGIT_DEMO
11.2.1 How to run the sample program
After starting the application, the switches SW3, SW4 and the seven-segment LED are the user interface to
the sample program.
•
Switch
SW3
By pressing this switch, the generation of a new random number is started. In this state the
segments of the seven-segment display are flashing.
•
Switch
SW4
By pressing this switch, the generation of a new random number is stopped. The newly
generated number is displayed and flashes at the seven-segment display.
User’s Manual U19647EE2V0UM00
43
Содержание V850ES/Jx3-H
Страница 22: ...V850ES Jx3H Plug it Figure 8 V850 OCD Interface Resources User s Manual U19647EE2V0UM00 22 ...
Страница 69: ...V850ES Jx3H Plug it Figure 56 V850ES Jx3 H Plug it schematics 2 3 User s Manual U19647EE2V0UM00 69 ...
Страница 70: ...V850ES Jx3H Plug it Figure 57 V850ES Jx3 H Plug it schematics 3 3 User s Manual U19647EE2V0UM00 70 ...
Страница 71: ...V850ES Jx3H Plug it MEMO User s Manual U19647EE2V0UM00 71 ...