Search found 1 match
- Thu Aug 23, 2018 8:00 pm
- Forum: ESP32 Arduino
- Topic: What happens once every milisecond (1000 Hz) and halts tasks
- Replies: 0
- Views: 2419
What happens once every milisecond (1000 Hz) and halts tasks
Hi! I can reproduce the issue on a genuine UNO board which makes me believe it's an Arduino thing. My code is super simple: void setup() { pinMode(5, OUTPUT); } void loop() { digitalWrite(5, 1); digitalWrite(5, 0); } Bitbanging on pin 5 to achieve approximately 50% duty cycle PWM. So looking at it o...