In this sample program, UART communication is performed through the RL78/G23's serial interface UARTA. ASCII characters transmitted from the device on the opposite side are analyzed to make responses.
This sample program acquires humidity and temperature data from the HS400x humidity and temperature sensor through the I2C in RL78/G23 and handles calculations on the data.
This solution is a reference design for a monitor that measures and detects the concentration of atmospheric particulate matter (PM) less than 2.5 micrometers in diameter in real-time.
This application describes how to use the 32-bit interval timer channels in 8-bit counter mode. Using this mode, the application reverses LED indications based on the settings of the compare match detection flags when a timer interrupt occurs. The application also changes the timer interrupt generation intervals based on the number of times the switch has been previously pressed.
The advanced mode is used for A/D conversion of analog input voltage of the 4pins by using software trigger and hardware trigger.After A/D conversion of each channel ends, an interrupt is generated, and the conversion result is stored in the variable of the internal RAM.
The advanced mode is used for simultaneous sampling of the 3 pins, and A/D conversion is performed. After A/D conversion of each channel ends, an interrupt is generated, and the conversion result is stored in the variable of the internal RAM.
Scan mode is used, and A/D conversion is performed for analog voltages input to the 4 pins by using hardware trigger. After A/D conversion ends, the conversion results are stored in the variable of the internal RAM.
Select mode is used and the internal reference voltage and ANI2 are converted alternately, and then the conversion results are stored in the variable of the internal RAM.
This application describes how to control LED lights by using the timer KB0 of the RL78/G11. The application provides ON/OFF control through sensor detection, light control through volume input, and constant current control.
In this sample program, UART communication is performed through the RL78/G23's serial interface UARTA. ASCII characters transmitted from the device on the opposite side are analyzed to make responses.
This sample program acquires humidity and temperature data from the HS300x humidity and temperature sensor through the I2C in RL78/G23 and handles calculations on the data.
In this sample program, UART communication is performed through the RL78/G15's Serial Array Unit (SAU). ASCII characters transmitted from the device on the opposite side are analyzed to make responses.
This application is a sample program driving a permanent magnetic synchronous motor with sensorless 120-degree conducting method based on RL78/G1F microcontroller.
Using the 32-bit interval timer, this sample program reverses LED indications based on the settings of the compare match detection flags when a timer interrupt occurs. The application also changes the timer interrupt generation intervals based on the number of times the switch has been previously pressed.
This sample program converts an analog voltage to a digital voltage with the RL78/G22's A/D converter (supporting software trigger and sequential conversion modes).
This solution is a reference design for a monitor that measures and detects the concentration of atmospheric particulate matter (PM) less than 2.5 micrometers in diameter in real-time.
This sample program uses the interval timer function of the timer array unit (TAU) of RL78/G14 and inverts the LED indication each time a timer interrupt occurs. Also, it changes the timer interrupt cycle time based on the number of times the switch is pressed.
This sample program controls dynamically lighting of 7-segment LEDs (cathode-common) using a program written in an Arduino language using the RL78/G14 Fast Prototyping Board (FPB).