moved coomment to a more relevant place

master
BodgeMaster 2021-05-04 21:35:32 +02:00
parent 579d28e34b
commit 181aa3c9de
1 changed files with 3 additions and 3 deletions

View File

@ -1,10 +1,10 @@
/*
* getMode function has been taken from https://forum.arduino.cc/t/check-current-pinmode/232140
*/
#define UNKNOWN_PIN 0xFF
#define TX_PIN 1
#define RX_PIN 0
/*
* getMode function has been taken from https://forum.arduino.cc/t/check-current-pinmode/232140
*/
uint8_t getMode(uint8_t pin){
uint8_t bitmask = digitalPinToBitMask(pin);
uint8_t port = digitalPinToPort(pin);