Features - dbuezas/lgt8fx GitHub Wiki
Features
- Fast_IO update
- Automatic prescaler setup
- In Menu support of 1, 2, 4, 8, 16 and 32 Mhz
- Digital Analog Converter
- Voltage References INTERNAL1V024/INTERNAL2V048/INTERNAL4V096/DEFAULT/EXTERNAL (useful for example for analogRead or DAC analogWrite via analogReference(xxx));
- Analog Comparator (page 224 of datasheet v1.0.4)
- Differential Amplifier. See this Example.
- Computation Accelerator (page 52 of datasheet v1.0.4) Work by others
- SoftwareSerial @32Mhz (stable up to 230400 baud)
- Precise delayMicroseconds (by #LaZsolt)With maximum functional compatibility compared to the basic Arduino, this function has better accuracy on low delay values and on low frequencies, works well with LogicGreen microcontrollers in wide CPU frequency range, compiler and linker optimzations has no effect on delay time.
Read more about
delayMicroseconds()
: https://github.com/LaZsolt/delayMicroseconds/tree/master/for_LGT8F
Larduino_HSP v3.6c
Differences to original core- Support 32 Mhz and other clock speeds
- Differential Amplifier API
- Better Boards Menu
- Installation via Board Manager Urls
- SoftwareSerial @32Mhz
- FastIO ported from https://github.com/LGTMCU/Larduino_HSP
Power consumption @ 5v
- 32Mhz 32.6mA
- 16Mhz 27.8mA
- 8Mhz 25.4mA
- 4Mhz 24.3mA
- 2Mhz 23.4mA
- 1Mhz 22.8mA