Use DPM where possible

This commit is contained in:
Scott Lahteine
2016-10-24 05:26:30 -05:00
parent ad38d91692
commit 9cbedab91b
3 changed files with 15 additions and 18 deletions

View File

@ -93,6 +93,8 @@
/// set pin as input wrapper
#define SET_INPUT(IO) _SET_INPUT(IO)
/// set pin as input with pullup wrapper
#define SET_INPUT_PULLUP(IO) do{ _SET_INPUT(IO); _WRITE(IO, HIGH); }while(0)
/// set pin as output wrapper
#define SET_OUTPUT(IO) _SET_OUTPUT(IO)