aboutsummaryrefslogtreecommitdiffstats
path: root/examples/vga-leaf.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'examples/vga-leaf.cpp')
-rw-r--r--examples/vga-leaf.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/examples/vga-leaf.cpp b/examples/vga-leaf.cpp
index 6d07988..db20eb2 100644
--- a/examples/vga-leaf.cpp
+++ b/examples/vga-leaf.cpp
@@ -38,6 +38,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);