hello

Dependencies:   mbed-rtos mbed

Fork of BX-car by kao yi

Committer:
backman
Date:
Sun Jun 22 13:58:01 2014 +0000
Revision:
7:fd976e1ced33
Child:
10:9f0ce6ba7663
printf should use right type

Who changed what in which revision?

UserRevisionLine numberNew contents of line
backman 7:fd976e1ced33 1
backman 7:fd976e1ced33 2
backman 7:fd976e1ced33 3
backman 7:fd976e1ced33 4
backman 7:fd976e1ced33 5 #include "mbed.h"
backman 7:fd976e1ced33 6 class BX_pot{
backman 7:fd976e1ced33 7
backman 7:fd976e1ced33 8 public:
backman 7:fd976e1ced33 9
backman 7:fd976e1ced33 10 //static
backman 7:fd976e1ced33 11 float read(void); //block in here
backman 7:fd976e1ced33 12
backman 7:fd976e1ced33 13 BX_pot(char t);
backman 7:fd976e1ced33 14
backman 7:fd976e1ced33 15
backman 7:fd976e1ced33 16
backman 7:fd976e1ced33 17
backman 7:fd976e1ced33 18
backman 7:fd976e1ced33 19
backman 7:fd976e1ced33 20
backman 7:fd976e1ced33 21
backman 7:fd976e1ced33 22 private:
backman 7:fd976e1ced33 23
backman 7:fd976e1ced33 24 AnalogIn* pot_in;
backman 7:fd976e1ced33 25
backman 7:fd976e1ced33 26
backman 7:fd976e1ced33 27
backman 7:fd976e1ced33 28
backman 7:fd976e1ced33 29
backman 7:fd976e1ced33 30
backman 7:fd976e1ced33 31
backman 7:fd976e1ced33 32
backman 7:fd976e1ced33 33 };