SDFileSystem

Dependencies:   mbed PowerControl SDFileSystem

Fork of SDFilesystem by 智也 大野

Committer:
tomoya123
Date:
Fri Dec 09 05:02:42 2016 +0000
Revision:
0:8d235efb1150
SDcard

Who changed what in which revision?

UserRevisionLine numberNew contents of line
tomoya123 0:8d235efb1150 1 #ifndef MBED_HEPTABATTERY_H
tomoya123 0:8d235efb1150 2 #define MBED_HEPTABATTERY_H
tomoya123 0:8d235efb1150 3 #include "mbed.h"
tomoya123 0:8d235efb1150 4 #include "PowerControl/PowerControl.h"
tomoya123 0:8d235efb1150 5 #include "PowerControl/EthernetPowerControl.h"
tomoya123 0:8d235efb1150 6
tomoya123 0:8d235efb1150 7 class HeptaBattery{
tomoya123 0:8d235efb1150 8 public:
tomoya123 0:8d235efb1150 9 HeptaBattery(
tomoya123 0:8d235efb1150 10 PinName bat,
tomoya123 0:8d235efb1150 11 PinName bat_ct,
tomoya123 0:8d235efb1150 12 PinName reg_st
tomoya123 0:8d235efb1150 13 );
tomoya123 0:8d235efb1150 14 void vol(float* bt);
tomoya123 0:8d235efb1150 15 void vol_u16(char* bt_u16, int *dsize);
tomoya123 0:8d235efb1150 16 void chargecontrol(int state, int *save_flag);
tomoya123 0:8d235efb1150 17
tomoya123 0:8d235efb1150 18 private:
tomoya123 0:8d235efb1150 19 AnalogIn _bat;
tomoya123 0:8d235efb1150 20 DigitalOut _bat_ct;
tomoya123 0:8d235efb1150 21 DigitalOut _reg_st;
tomoya123 0:8d235efb1150 22 };
tomoya123 0:8d235efb1150 23
tomoya123 0:8d235efb1150 24 #endif