Ben Michael
/
miniProject4
Servo that turns towards heat source with temperature reading display.
main.cpp@4:c69bc1be9869, 2019-01-13 (annotated)
- Committer:
- mchristianson21
- Date:
- Sun Jan 13 01:14:18 2019 +0000
- Revision:
- 4:c69bc1be9869
- Parent:
- 1:596a2915f7a2
- Child:
- 6:dd0950b071e9
Added Main Title
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
mchristianson21 | 4:c69bc1be9869 | 1 | \********************************************************************** |
mchristianson21 | 4:c69bc1be9869 | 2 | Mini-Porject 4 |
mchristianson21 | 4:c69bc1be9869 | 3 | Move TMP36 sensors attached to servo to make them line up with highest |
mchristianson21 | 4:c69bc1be9869 | 4 | heat source and display the hot temperature on seven segment displays. |
mchristianson21 | 4:c69bc1be9869 | 5 | |
mchristianson21 | 4:c69bc1be9869 | 6 | Authors: Ben Michael and Matthew Chiristianson |
mchristianson21 | 4:c69bc1be9869 | 7 | Created: 1/12/19 |
mchristianson21 | 4:c69bc1be9869 | 8 | ***********************************************************************\ |
bmichael21 | 0:aa880dde82e2 | 9 | #include "mbed.h" |
bmichael21 | 1:596a2915f7a2 | 10 | #include "tempSnsr.h" |
bmichael21 | 1:596a2915f7a2 | 11 | #include "servo.h" |
bmichael21 | 1:596a2915f7a2 | 12 | #include "display.h" |
bmichael21 | 0:aa880dde82e2 | 13 | |
bmichael21 | 0:aa880dde82e2 | 14 | DigitalOut myled(LED1); |
bmichael21 | 0:aa880dde82e2 | 15 | |
bmichael21 | 0:aa880dde82e2 | 16 | int main() { |
bmichael21 | 1:596a2915f7a2 | 17 | while(true) { |
bmichael21 | 1:596a2915f7a2 | 18 | |
bmichael21 | 0:aa880dde82e2 | 19 | } |
bmichael21 | 0:aa880dde82e2 | 20 | } |