/*
  Logic Analyzer Button Demo

  Generates a PWM signals on pins 5, 6.
  The logic analyzer record the signal only as long as 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!
}
D0D1D2D3D4D5D6D7GNDLOGIC