teste de publish

Dependencies:   DS1820 HighSpeedAnalogIn devices mbed

Committer:
brunofgc
Date:
Fri Mar 24 15:54:41 2017 +0000
Revision:
0:1c0a769988ee
Saidas digitais com pwm ok, entradas analogicas ok

Who changed what in which revision?

UserRevisionLine numberNew contents of line
brunofgc 0:1c0a769988ee 1 #ifndef _mediaMovel_h_
brunofgc 0:1c0a769988ee 2 #define _mediaMovel_h_
brunofgc 0:1c0a769988ee 3 #include "mbed.h"
brunofgc 0:1c0a769988ee 4
brunofgc 0:1c0a769988ee 5 class MediaMovel{
brunofgc 0:1c0a769988ee 6 private:
brunofgc 0:1c0a769988ee 7 uint16_t *p;
brunofgc 0:1c0a769988ee 8 uint16_t index;
brunofgc 0:1c0a769988ee 9 uint16_t tam;
brunofgc 0:1c0a769988ee 10 public:
brunofgc 0:1c0a769988ee 11 MediaMovel(uint16_t);
brunofgc 0:1c0a769988ee 12 uint16_t get(uint16_t);
brunofgc 0:1c0a769988ee 13 };
brunofgc 0:1c0a769988ee 14
brunofgc 0:1c0a769988ee 15
brunofgc 0:1c0a769988ee 16 #endif