![](/media/cache/img/default_profile.jpg.50x50_q85.jpg)
GPS y GSM con envío de cadena de google maps.
Dependencies: GPSGSM TextLCD mbed
Fork of TAREA_4_GPS_GSM by
DebouncedIn.h@3:238bcdf52c8f, 2017-06-09 (annotated)
- Committer:
- NicolasV
- Date:
- Fri Jun 09 21:09:43 2017 +0000
- Revision:
- 3:238bcdf52c8f
- Parent:
- 0:b2a6aa7c0c8c
Con env?o de cadena de google maps
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
procesadores_FAC | 0:b2a6aa7c0c8c | 1 | #include "mbed.h" |
procesadores_FAC | 0:b2a6aa7c0c8c | 2 | |
procesadores_FAC | 0:b2a6aa7c0c8c | 3 | class DebouncedIn { |
procesadores_FAC | 0:b2a6aa7c0c8c | 4 | public: |
procesadores_FAC | 0:b2a6aa7c0c8c | 5 | DebouncedIn(PinName in); |
procesadores_FAC | 0:b2a6aa7c0c8c | 6 | |
procesadores_FAC | 0:b2a6aa7c0c8c | 7 | int read (void); |
procesadores_FAC | 0:b2a6aa7c0c8c | 8 | operator int(); |
procesadores_FAC | 0:b2a6aa7c0c8c | 9 | |
procesadores_FAC | 0:b2a6aa7c0c8c | 10 | int rising(void); |
procesadores_FAC | 0:b2a6aa7c0c8c | 11 | int falling(void); |
procesadores_FAC | 0:b2a6aa7c0c8c | 12 | int steady(void); |
procesadores_FAC | 0:b2a6aa7c0c8c | 13 | |
procesadores_FAC | 0:b2a6aa7c0c8c | 14 | private : |
procesadores_FAC | 0:b2a6aa7c0c8c | 15 | // objects |
procesadores_FAC | 0:b2a6aa7c0c8c | 16 | DigitalIn _in; |
procesadores_FAC | 0:b2a6aa7c0c8c | 17 | Ticker _ticker; |
procesadores_FAC | 0:b2a6aa7c0c8c | 18 | |
procesadores_FAC | 0:b2a6aa7c0c8c | 19 | // function to take a sample, and update flags |
procesadores_FAC | 0:b2a6aa7c0c8c | 20 | void _sample(void); |
procesadores_FAC | 0:b2a6aa7c0c8c | 21 | |
procesadores_FAC | 0:b2a6aa7c0c8c | 22 | // counters and flags |
procesadores_FAC | 0:b2a6aa7c0c8c | 23 | int _samples; |
procesadores_FAC | 0:b2a6aa7c0c8c | 24 | int _output; |
procesadores_FAC | 0:b2a6aa7c0c8c | 25 | int _output_last; |
procesadores_FAC | 0:b2a6aa7c0c8c | 26 | int _rising_flag; |
procesadores_FAC | 0:b2a6aa7c0c8c | 27 | int _falling_flag; |
procesadores_FAC | 0:b2a6aa7c0c8c | 28 | int _state_counter; |
procesadores_FAC | 0:b2a6aa7c0c8c | 29 | |
procesadores_FAC | 0:b2a6aa7c0c8c | 30 | }; |
procesadores_FAC | 0:b2a6aa7c0c8c | 31 |