diff examples/analogDigitalDemo/render.cpp @ 375:768acdeea362 prerelease

Merge
author Giulio Moro <giuliomoro@yahoo.it>
date Fri, 10 Jun 2016 00:35:18 +0100
parents db2fe4e1b88e
children 9dc5a0ccad25
line wrap: on
line diff
--- a/examples/analogDigitalDemo/render.cpp	Fri Jun 10 00:02:48 2016 +0100
+++ b/examples/analogDigitalDemo/render.cpp	Fri Jun 10 00:35:18 2016 +0100
@@ -1,9 +1,34 @@
-    /*
+/*
+ ____  _____ _        _    
+| __ )| ____| |      / \   
+|  _ \|  _| | |     / _ \  
+| |_) | |___| |___ / ___ \ 
+|____/|_____|_____/_/   \_\.io
+
+ */
+
+/*
  *
  * Andrew McPherson and Victor Zappi
  * Queen Mary, University of London
  */
 
+/**
+\example 3_analogDigitalDemo
+
+Analog digital workout
+----------------------
+
+This sketch showcases many different ways to write and read digital pins, 
+including generating clocks and creating binary counters.
+
+The code as it is will not work properly, as the direction of the pins is not 
+set. As an exercise, you will need to set the pin mode before writing or reading 
+the digital pins. 
+
+This is for advanced users only.
+*/
+
 #include <Bela.h>
 #include <Utilities.h>
 #include <cmath>