Obtención de coordenadas vía celular y módulo GPS

Dependencies:   GPS7 mbed

/media/uploads/AaronGonzalez/20160602_191419.jpg

Committer:
AaronGonzalez
Date:
Fri Jun 03 01:03:02 2016 +0000
Revision:
1:e2bd083802c0
Parent:
0:b2a6aa7c0c8c
Tarea GPS

Who changed what in which revision?

UserRevisionLine numberNew 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