Battery

Dependencies:   mbed PowerControl SDFileSystem

Fork of HeptaBattery by 智也 大野

Committer:
tomoya123
Date:
Fri Dec 09 04:16:34 2016 +0000
Revision:
0:d53e9c6fc771
Battery

Who changed what in which revision?

UserRevisionLine numberNew contents of line
tomoya123 0:d53e9c6fc771 1 #ifndef MBED_HEPTAXBEE_H
tomoya123 0:d53e9c6fc771 2 #define MBED_HEPTAXBEE_H
tomoya123 0:d53e9c6fc771 3 #include "mbed.h"
tomoya123 0:d53e9c6fc771 4
tomoya123 0:d53e9c6fc771 5 //Xbee Series2
tomoya123 0:d53e9c6fc771 6
tomoya123 0:d53e9c6fc771 7 class HeptaXbee{
tomoya123 0:d53e9c6fc771 8 public:
tomoya123 0:d53e9c6fc771 9 Serial xbee;
tomoya123 0:d53e9c6fc771 10 int rcmd;
tomoya123 0:d53e9c6fc771 11 int cmdflag;
tomoya123 0:d53e9c6fc771 12 HeptaXbee(
tomoya123 0:d53e9c6fc771 13 PinName tx,
tomoya123 0:d53e9c6fc771 14 PinName rx
tomoya123 0:d53e9c6fc771 15 );
tomoya123 0:d53e9c6fc771 16 void baud(int rate);
tomoya123 0:d53e9c6fc771 17 void xbee_recieve(int *xrcmd, int *xcmdflag);
tomoya123 0:d53e9c6fc771 18 void initialize();
tomoya123 0:d53e9c6fc771 19 void commandget();
tomoya123 0:d53e9c6fc771 20 void putc(char data);
tomoya123 0:d53e9c6fc771 21 void xbee_transmit(char* output_data,size_t output_n,
tomoya123 0:d53e9c6fc771 22 char data1[],char data2[],char data3[],char data4[],char data5[],char data6[],char data7[],char data8[],char data9[],
tomoya123 0:d53e9c6fc771 23 int n1,int n2,int n3,int n4,int n5,int n6,int n7,int n8,int n9);
tomoya123 0:d53e9c6fc771 24 void puts( char *s );
tomoya123 0:d53e9c6fc771 25 void printf(char *format, ... );
tomoya123 0:d53e9c6fc771 26 private:
tomoya123 0:d53e9c6fc771 27 };
tomoya123 0:d53e9c6fc771 28 #endif