SHARE
TWEET

mylib

a guest Jan 21st, 2020 53 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. #define READPORTS 2                        
  2. #define PORTSOUT 3                          
  3.  
  4. uint8_t readports[READPORTS] = {22,21};    
  5. uint8_t ports_out[PORTSOUT] = {17,15,18};
  6.  
  7. MyLib mylib(Serial, localAddress, destinationAddress);
  8.  
  9. void setup() {
  10.  
  11.   Serial.begin(9600);
  12.   mylib.initialize(ports_out, readports, PORTSOUT, READPORTS, 'R');
  13. ....
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Top