UnoLib 0.1

UnoLib is a library written in Pascal designed for the Arduino Uno platform (ATmega328 microcontroller with a 16MHz clock). It is a translation of part of the standard Arduino library, with the necessary modifications. Support for fixed point numbers has also been added. UnoLib requires installation of the FreePascal compiler for AVR microcontrollers and a program that allows to transfer of the binary code to the memory of the microcontroller, eg AVRDude.

Technical data

Language: Object Pascal
Compiler: FPC 3.2.2 for AVR
IDE: Lazarus 1.8.4
Technology: AVR microcontrollers, embeded systems, assembler statements
Platform: Arduino

Arduino Uno

Source of image: wikipedia.org

Modules

  • analog.pas - support for analog pins
  • defs.pas - definitions of constatnts, bit manipulations, port support
  • dht.pas - support for DHT11/22 sensors
  • digital.pas - support for digital pins
  • fix16.pas - support for fixed point numbers
  • hardwareserial.pas - support for serial communication
  • liquidcrystal.pas - support for LCD
  • timer.pas - time-related routines
Arduino
Date File Size Notes
07/01/22 unolib_01.zip 39.14 KB Source code

Updated: 07/01/22