Skip to content

Added Data Port

Latest
Compare
Choose a tag to compare
@elyons elyons released this 18 Aug 23:19
· 32 commits to master since this release
ad333ee

This release includes a new module for the core pinduino library for controlling relays for high-voltage circuits. This module is called DataPort, and is accessible through the core pinduino library by calling the pinduino object (e.g., pd):

pd.port1()->high();
delay(75);    
pd.port1()->low();

This would send a high signal down the first port of the pinduino, which would hold a relay or tranistor on for 75 milliseconds before being turned to low.