![](/media/cache/img/default_profile.jpg.50x50_q85.jpg)
Part 1 should work correctly if all of part 2 and sd card junk is commented out. Attempted to update the libraries multiple times but could not get code to compile. the error "overload function" kept appearing.
Dependencies: 4DGL-uLCD-SE MMA8452Q SDFileSystem bouncing_ball mbed
Fork of OCE360_4 by
main.cpp@0:8d3812068c6c, 2017-10-19 (annotated)
- Committer:
- slicht
- Date:
- Thu Oct 19 12:53:21 2017 +0000
- Revision:
- 0:8d3812068c6c
- Child:
- 1:6b99ffa62cc8
Initial commit for OCE360_4
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
slicht | 0:8d3812068c6c | 1 | #include "mbed.h" |
slicht | 0:8d3812068c6c | 2 | |
slicht | 0:8d3812068c6c | 3 | DigitalOut myled(LED1); |
slicht | 0:8d3812068c6c | 4 | |
slicht | 0:8d3812068c6c | 5 | int main() { |
slicht | 0:8d3812068c6c | 6 | while(1) { |
slicht | 0:8d3812068c6c | 7 | myled = 1; |
slicht | 0:8d3812068c6c | 8 | wait(0.2); |
slicht | 0:8d3812068c6c | 9 | myled = 0; |
slicht | 0:8d3812068c6c | 10 | wait(0.2); |
slicht | 0:8d3812068c6c | 11 | } |
slicht | 0:8d3812068c6c | 12 | } |