Masahiko Yamazaki
/
Lab3-00_33conv_operation_check_lite
main.cpp@3:e21c71a08239, 2021-08-23 (annotated)
- Committer:
- heptasat2021
- Date:
- Mon Aug 23 05:46:51 2021 +0000
- Revision:
- 3:e21c71a08239
- Parent:
- 2:5155eb98b083
For Hepta-Sat Lite
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
heptasat2021 | 0:da0f6aca15b8 | 1 | #include "mbed.h" |
heptasat2021 | 3:e21c71a08239 | 2 | DigitalOut conv(PA_4); |
heptasat2021 | 0:da0f6aca15b8 | 3 | int main() |
heptasat2021 | 0:da0f6aca15b8 | 4 | { |
heptasat2021 | 3:e21c71a08239 | 5 | while(true){ |
heptasat2021 | 3:e21c71a08239 | 6 | conv = 1; |
heptasat2021 | 3:e21c71a08239 | 7 | wait_ms(5000); |
heptasat2021 | 3:e21c71a08239 | 8 | conv = 0; |
heptasat2021 | 3:e21c71a08239 | 9 | wait_ms(5000); |
heptasat2021 | 0:da0f6aca15b8 | 10 | } |
heptasat2021 | 3:e21c71a08239 | 11 | |
heptasat2021 | 0:da0f6aca15b8 | 12 | } |