Unit_???

An ACT (Act) beginning with _Unit_ is used to describe a very single function or to check the operation of a function.

NameContent

Unit_ADC

This sample runs the ADC, reading and displaying about every second while continuously running the ADC every 100ms. Sleep by [s] key.

Unit_I2Cprobe

Scan the I2C bus for responding device numbers (some devices may not respond to this procedure).

Unit_delayMicoroseconds

delayMicroseconds(), and compare with the count of 16Mhz TickTimer.

Unit_brd_CUE

Check the operation of the acceleration sensor, magnetic sensor, and LED of TWELITE CUE. Input [a],[s],[l] keys from the terminal.

Unit_brd_PAL_NOTICE

Try Notice Pal (NOTICE PAL) LED lighting. All lights flash at startup, then operate via serial input. - r,g,b,w : Toggle each color lighting mode - R,G,B,W : change the brightness of each color (disabled when lights off or all lights on) - c: change the cycle (when blinking) - C: change the duty when blinking (when blinking)

Unit_div100

Find the divisor and quotient of 10,100,1000 div10(),div100(),div1000(). -9999999 to 999999 and compare the elapsed time with the usual division by /,%.

Unit_div_format

div10(),div100(),div1000() results in string output.

Unit_UART1

UART1 (Serial1) is a sample of using UART0 (Serial) outputs input from UART1 to UART1 and input from UART1 to UART0.

Unit_Pkt_Parser

Sample use of the packet information parser <a href="../It can interpret the output of App_Wings. * You may want to connect two TWELITE radio modules serially and use one as App_Wings and the other to interpret its output. If you want to connect the other to a non-TWELITE radio module, you can use "Other Platforms".

Uint_EEPROM

EEPROM read/write test code.

Unit_Cue_MagBuz

This program uses the TWELITE CUE magnet sensor and SET pin (connected to a piezoelectric buzzer) to sound a buzzer when the magnet is released.

Unit_doint-bhv

Example of BEHAVIOR description for handling IO interrupts.

Unit_EASTL

A collection of small codes using the EASTL library.

最終更新