Mercurial > hg > beaglert
comparison 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 |
comparison
equal
deleted
inserted
replaced
374:ecad1ea0382a | 375:768acdeea362 |
---|---|
1 /* | 1 /* |
2 ____ _____ _ _ | |
3 | __ )| ____| | / \ | |
4 | _ \| _| | | / _ \ | |
5 | |_) | |___| |___ / ___ \ | |
6 |____/|_____|_____/_/ \_\.io | |
7 | |
8 */ | |
9 | |
10 /* | |
2 * | 11 * |
3 * Andrew McPherson and Victor Zappi | 12 * Andrew McPherson and Victor Zappi |
4 * Queen Mary, University of London | 13 * Queen Mary, University of London |
5 */ | 14 */ |
15 | |
16 /** | |
17 \example 3_analogDigitalDemo | |
18 | |
19 Analog digital workout | |
20 ---------------------- | |
21 | |
22 This sketch showcases many different ways to write and read digital pins, | |
23 including generating clocks and creating binary counters. | |
24 | |
25 The code as it is will not work properly, as the direction of the pins is not | |
26 set. As an exercise, you will need to set the pin mode before writing or reading | |
27 the digital pins. | |
28 | |
29 This is for advanced users only. | |
30 */ | |
6 | 31 |
7 #include <Bela.h> | 32 #include <Bela.h> |
8 #include <Utilities.h> | 33 #include <Utilities.h> |
9 #include <cmath> | 34 #include <cmath> |
10 #include <rtdk.h> | 35 #include <rtdk.h> |