diff options
Diffstat (limited to 'examples/vga-scope.cpp')
-rw-r--r-- | examples/vga-scope.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/examples/vga-scope.cpp b/examples/vga-scope.cpp index 3e7e75e..0265f9c 100644 --- a/examples/vga-scope.cpp +++ b/examples/vga-scope.cpp @@ -1,3 +1,6 @@ +// Low-level, non-wirish demonstration of VGA +// +// Connect a microphone or something less to ANALOG_PIN #include "wirish.h" @@ -39,6 +42,9 @@ void setup() Serial2.begin(9600); Serial2.println("Video time..."); + // This gets rid of the majority of the interrupt artifacts; + // a SysTick.end() is required as well + SerialUSB.end(); digitalWrite(VGA_R, 0); digitalWrite(VGA_G, 0); |