pwm period is now 200us instead of the default 20ms veml6040 config is now AF_BIT | TRIG_BIT

Dependencies:   mbed MMA8451Q USBDevice WakeUp vt100

Fork of afero_node_suntory_2017_06_15 by Orefatoi

Embed: (wiki syntax)

« Back to documentation index

Show/hide line numbers CurrentTrans.hpp Source File

CurrentTrans.hpp

00001 #ifndef _MARUSOL_SENSOR_MANAGER_POWER_H_
00002 #define _MARUSOL_SENSOR_MANAGER_POWER_H_
00003 
00004 #include "mbed.h"
00005 #include "ToDoQ.h"
00006 #include "RTC_Handler.h"
00007 #include "TimeEventHandler.hpp"
00008 #include "Singletoned.hpp"
00009 
00010 class CurrentTrans :
00011     public ToDo,
00012     public TimeEventHandler<CurrentTrans>,
00013     public Singletoned<CurrentTrans>
00014 {
00015     AnalogIn *m_Ain;
00016     CurrentTrans();
00017     ~CurrentTrans();
00018     void go();
00019 public:
00020     friend class TimeEventHandler;
00021     friend class Singletoned;
00022     virtual void toJSON(char*);
00023     virtual void getBytes(uint8_t*);
00024 };
00025 
00026 #endif //_MARUSOL_SENSOR_MANAGER_POWER_H_