ZI6 lib
Dependencies: C12832
SinusGen.h
- Committer:
- tbjazic
- Date:
- 2016-06-23
- Revision:
- 0:3dddb6a52298
File content as of revision 0:3dddb6a52298:
#ifndef SINUS_GEN #define SINUS_GEN #include "mbed.h" #include "C12832.h" class SinusGen { public: SinusGen(PinName temp1Pin, PinName temp2Pin, PinName tipkaloPin); private: AnalogIn pot1, pot2; InterruptIn tipkalo; C12832 lcd; PwmOut led1, led2, led3, led4; Ticker ticker; void generirajPrikazi(); int izbor; float U, A, y, t; void izborLedice(); Timer debounce; }; #endif