Unit_???
Sample for verifying the operation of single functions
Acts starting with
Unit_ are for describing very simple functions or for verifying their operation.| Name | Description |
|---|---|
Unit_ADC | Sample to operate the ADC. Continuously executes ADC every 100ms and reads and displays approximately every 1 second. Sleep with the [s] key. |
Unit_I2Cprobe | Scans the I2C bus and displays device numbers that respond (some devices may not respond during this procedure). |
Unit_delayMicoroseconds | Verifies the operation of delayMicroseconds(). Compares with the count of a 16MHz TickTimer. |
Unit_brd_CUE | Verifies the operation of the accelerometer, magnetic sensor, and LED of TWELITE CUE. Input keys [a], [s], [l] from the terminal. |
Unit_brd_ARIA | Verifies the operation of the temperature/humidity sensor, magnetic sensor, and LED of TWELITE ARIA. Input keys [t], [s], [l] from the terminal. |
Unit_brd_PAL_NOTICE | Tests the LED lighting of Notification Pal (NOTICE PAL). Flashes all lights at startup, then operates via serial input. - r,g,b,w: Toggle lighting modes for each color- R,G,B,W: Change brightness for each color (disabled when off or fully on)- c: Change cycle (when blinking)- C: Change duty cycle when blinking |
Unit_div100 | Verifies division and quotient calculation for 10, 100, 1000 using div10(),div100(),div1000(). Performs calculations from -99999 to 99999 and compares elapsed time with normal / and % division. |
Unit_div_format | Outputs the results of div10(),div100(),div1000() as strings. |
Unit_UART1 | Usage sample of UART1 (Serial1). Outputs input from UART0 to UART1 and input from UART1 to UART0. |
Unit_Pkt_Parser | Sample usage of packet parser pktparser. Can interpret output from App_Wings.※ For connecting TWELITE wireless modules via serial, using one as App_Wings and interpreting its output on the other. For connecting to non-TWELITE wireless modules, see Other Platforms. |
Unit_EEPROM | EEPROM read/write test code. |
Unit_Cue_MagBuz | Program that sounds a buzzer connected to the SET pin when a magnet is removed, using the magnet sensor of TWELITE CUE and a piezo buzzer. |
Unit_doint-bhv | Example behavior description handling IO interrupts. |
Unit_EASTL | Collection of fragment codes using the EASTL library. |