William Marsh
/
ADCandticker_sample
First example program for ECS727 lab 3
Sample code for ECS727 lab 3, showing
- Use of ADC (AnalogIn)
- Use of message passing (put, get)
- Use of event queue for periodic execution (not in an ISR)
mbed_app.json@3:f5d7fddeef39, 2019-01-31 (annotated)
- Committer:
- WilliamMarshQMUL
- Date:
- Thu Jan 31 11:10:30 2019 +0000
- Revision:
- 3:f5d7fddeef39
Version with thread instead of ticker
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
WilliamMarshQMUL | 3:f5d7fddeef39 | 1 | { |
WilliamMarshQMUL | 3:f5d7fddeef39 | 2 | "config": { |
WilliamMarshQMUL | 3:f5d7fddeef39 | 3 | "main-stack-size": { |
WilliamMarshQMUL | 3:f5d7fddeef39 | 4 | "value": 2000 |
WilliamMarshQMUL | 3:f5d7fddeef39 | 5 | } |
WilliamMarshQMUL | 3:f5d7fddeef39 | 6 | } |
WilliamMarshQMUL | 3:f5d7fddeef39 | 7 | } |