Skip to content

Latest commit

 

History

History
45 lines (31 loc) · 1007 Bytes

README.md

File metadata and controls

45 lines (31 loc) · 1007 Bytes

sAPI library for microcontrollers

This library implements a simple API that acts as a HAL (Hardware Abstraction Layer) for microcontrollers.

It takes ideas from Wiring library, but use the concept of peripheral instead the concept of pin, making the API regardless of the number of pins that use certain peripheral.

Documentation

Included modules

Internal Peripherals

  • Data types.
  • Peripheral Map.
  • ISR Vector.
  • Board.
  • Tick.
  • Delay.
  • Digital I/O.
  • Analog I/O.
  • UART.
  • I2C.
  • RTC.
  • PWM.

External Peripherals

  • Angular Servo (0 to 180°).
  • Magnetometer (compass) sensor HMC5883L.

Every module includes an example.

Software layers

 "sapi-modulos-capas.png" image not found

Boards

Now available for boards: