/*
Logic Analyzer Button Demo
Generates a PWM signals on pins 5, 6.
The logic analyzer will start recording them only when you press the GREEN button.
View the recordings using PulseView:
https://docs.wokwi.com/guides/logic-analyzer#viewing-the-data-in-pulseview
Copyright (C) 2021, Uri Shaked
*/
void setup() {
pinMode(5, OUTPUT);
pinMode(6, OUTPUT);
analogWrite(5, 50);
analogWrite(6, 220);
}
void loop() {
// Nothing!
}