Skip to content

Latest commit

 

History

History
36 lines (22 loc) · 715 Bytes

File metadata and controls

36 lines (22 loc) · 715 Bytes

dpplib-mcu

dpplib-mcu is a library that allow you (...or aim to) writing program for MCUs (like Arduino) and SBCs (like Raspberry pi) using the same code.

For example, You can read a digital pin 4 instantiating the class and call begin() (arduino style):

DDigitalInput input(4);
input.begin();

then read it:

int status = input;

or:

int status=input.read();

The result can be HIGH or LOW (Arduino style).

This code compiles on both Arduino and Raspberry.


See here for modules list and help.

Doxygen support for doc.

Module drivers ready to use for sensor board:

  • INA226 and INA228 current/voltage sensors.