Advertisement
Guest User

Untitled

a guest
Jan 9th, 2017
134
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.20 KB | None | 0 0
  1. #ifndef DigitalToggle_h
  2. #define DigitalToggle_h
  3. #include "Arduino.h"
  4.  
  5. #define digitalToggleFast(P) *portInputRegister(digitalPinToPort(P)) = digitalPinToBitMask(P)
  6. void digitalToggle(uint8_t P);
  7. #endif
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement