Jx3-H_Plugit_Demo" Sample Program; How To Run The Sample Program; Figure 34: Project Window Jx3-H_Plugit_Demo - NEC V850ES/Jx3-H User Manual

Demonstration kit for 32-bit risc microcontroller
Table of Contents

Advertisement

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.

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.

Figure 34: Project Window Jx3-H_PLUGIT_DEMO

User's Manual U19647EE2V0UM00
43

Advertisement

Table of Contents
loading

Table of Contents