program to export new ublox drivers
Dependencies: ublox-at-cellular-interface-ext ublox-cellular-base ublox-cellular-driver-gen
main.cpp@0:96632a6f103a, 2018-02-08 (annotated)
- Committer:
- michaelVisimid
- Date:
- Thu Feb 08 23:50:49 2018 +0000
- Revision:
- 0:96632a6f103a
Program to export new ublox drivers
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
michaelVisimid | 0:96632a6f103a | 1 | #include "mbed.h" |
michaelVisimid | 0:96632a6f103a | 2 | |
michaelVisimid | 0:96632a6f103a | 3 | DigitalOut led1(LED1); |
michaelVisimid | 0:96632a6f103a | 4 | |
michaelVisimid | 0:96632a6f103a | 5 | // main() runs in its own thread in the OS |
michaelVisimid | 0:96632a6f103a | 6 | int main() { |
michaelVisimid | 0:96632a6f103a | 7 | while (true) { |
michaelVisimid | 0:96632a6f103a | 8 | led1 = !led1; |
michaelVisimid | 0:96632a6f103a | 9 | wait(0.5); |
michaelVisimid | 0:96632a6f103a | 10 | } |
michaelVisimid | 0:96632a6f103a | 11 | } |
michaelVisimid | 0:96632a6f103a | 12 |