Skip to content

durydevelop/dpplibmcu

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

91 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

Drivers modules for ready to use some sensor board:

  • INA226 and INA228 current/voltage sensors.

About

CPP library to handle GPIO on SBC and MCU with the same code.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published