mmarchetti / DirectIO

Fast, simple I/O library for Arduino
GNU Lesser General Public License v3.0
115 stars 27 forks source link

Add pullup option for InputLow #23

Closed petrzjunior closed 5 years ago

petrzjunior commented 5 years ago

Enable the inverted input to remove pullup. When initializing InputLow, pass the pullup value to the underlaying Input: InputLow(boolean pullup=true) : input(pullup) {}

mmarchetti commented 5 years ago

Thanks, looks good!