filmov
tv
Teensy3 VGA fractal pattern programmed in Arduino IDE

Показать описание
This is the Teensy3.1 outputting to VGA LCD screen, a regular computer screen (an old Dell one). the Teensy provides sync signals to the screen and runs a maths loop to provide the 60fps output. The maths is a simple set of for loops() that fill the screen buffer on each pass. The Teensy is outputting 6 base colours by using 6 output pins, two for each of red, blue and green. Each of the two colour pins has a different resistor value so that a dull and bright version of each base colour is available. These are then manipulated by PORT B register bit manipulation.