|
sketchbook
|
#include <TimerOne.h>Macros | |
| #define | LED 13 |
| #define | P1 0x04 |
| #define | P2 0x08 |
| #define | PWR 0x10 |
| #define | OFF 0x00 |
| #define | cbi(sfr, bit) (_SFR_BYTE(sfr) &= ~_BV(bit)) |
| #define | sbi(sfr, bit) (_SFR_BYTE(sfr) |= _BV(bit)) |
Functions | |
| void | ticker () |
| void | setup () |
| void | loop () |
Variables | |
| volatile unsigned long | REF = 0 |
| char | phase = 0 |
| char | onOff = 1 |
| #define cbi | ( | sfr, | |
| bit | |||
| ) | (_SFR_BYTE(sfr) &= ~_BV(bit)) |
| #define LED 13 |
| #define OFF 0x00 |
| #define P1 0x04 |
| #define P2 0x08 |
| #define PWR 0x10 |
| #define sbi | ( | sfr, | |
| bit | |||
| ) | (_SFR_BYTE(sfr) |= _BV(bit)) |
| void loop | ( | void | ) |
OneWirePJON device status update function.
| void setup | ( | void | ) |
Arduino IDE: put your setup code here, to run once.
| void ticker | ( | ) |
| char onOff = 1 |
| char phase = 0 |
| volatile unsigned long REF = 0 |
1.8.6