Skip to content

Instantly share code, notes, and snippets.

@podstawek
Created April 4, 2022 07:15
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save podstawek/90198102f2c73eb0151ba68eba5612ef to your computer and use it in GitHub Desktop.
Save podstawek/90198102f2c73eb0151ba68eba5612ef to your computer and use it in GitHub Desktop.
6522 control code, pulse train shape fragment only
// send a pattern to Shift Register (e.g. 01100101)
digitalWrite(D7, LOW);
digitalWrite(D6, HIGH);
digitalWrite(D5, HIGH);
digitalWrite(D4, LOW);
digitalWrite(D3, LOW);
digitalWrite(D2, HIGH);
digitalWrite(D1, LOW);
digitalWrite(D0, HIGH);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment