Doesn't work on ATtiny3217
It doesn't work on ATtiny3217 etc..
Why
This example dont work with the ATtiny3217 (but on the Arduino Nano well)
// Board = megaTinyCore > Attiny3217/3216....... w/optiboot // Chip = ATtiny3217 // Clock = 16MHz internal
#include <digitalWriteFast.h> // https://github.com/ArminJo/digitalWriteFast const byte outPin = 17;
void setup() { pinMode(outPin , OUTPUT); digitalWriteFast(outPin, 1); // is 0 instead of 1 while (1) digitalToggleFast(outPin); // dont work }
void loop() { }
Thanks for reporting 👍 If you use megaTinyCore, you cannot use "#include digitalWriteFast.h" because megaTinyCore has it own digitalWriteFast function set, except digitalToggleFast().
Thanks, I didn't know