Open mranderson02005 opened 2 years ago
In the code you have references to sbi and cbi, but that doesn't seem to work. I think they are deprecated perhaps? What would the correct code be instead?
thanks!
They appear to be deprecated macros. I found this code that seems to do exactly what the macros did:
#define cbi(sfr, bit) (_SFR_BYTE(sfr) &= ~_BV(bit)); #define sbi(sfr, bit) (_SFR_BYTE(sfr) |= _BV(bit));
In the code you have references to sbi and cbi, but that doesn't seem to work. I think they are deprecated perhaps? What would the correct code be instead?
thanks!