Last active
June 7, 2018 18:16
-
-
Save jonmoshier/d556c34ba0c87f958f88faeaa7db5fc2 to your computer and use it in GitHub Desktop.
Simple setup for teensy bytebeats. Example at https://www.youtube.com/watch?v=I6M_S562yKI
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
void setup() { | |
analogWriteResolution(8); | |
} | |
void loop() { | |
int t=0; | |
for(;;t++) { | |
analogWrite(A14,(t*3 &t>>9 &t*5 &t>>9 &t*7&t>>9 )); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment