Files

copied
Last update 1 year 4 months by Kristóf Kovács
FilesArduino_Pedalboxinclude
..
ArduinoSerialInterface.hpp
ArduinoTimeInterface.hpp
ArduinoWrapper.hpp
LoadCell.hpp
Log.hpp
Pedal.hpp
Pedalbox.hpp
Potmeter.hpp
README
SensorConfig.h
SensorInterface.hpp
SerialInterface.hpp
TimeInterface.hpp
board_pinout.h
stopwatch.hpp
ArduinoTimeInterface.hpp
#ifndef _ARDUINOTIMEINTERFACE_HPP_ #define _ARDUINOTIMEINTERFACE_HPP_ #include <Arduino.h> #include <TimeLib.h> #include "TimeInterface.hpp" class ArduinoTimeInterface : public TimeInterface { public: ArduinoTimeInterface(); ~ArduinoTimeInterface() override = default; void SetTime(int hour, int minute, int second, int day, int month, int year) override; void SetTime(uint32_t time) override; uint8_t get_hour() override; uint8_t get_minute() override; uint8_t get_second() override; uint16_t get_millisecond() override; void update() override; private: uint32_t const start_time; uint16_t millisecond; }; #endif //_ARDUINOTIMEINTERFACE_HPP_
Report a bug