Hubo Library
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
Functions | Variables
BatteryTest.cpp File Reference
#include <stdio.h>
#include <unistd.h>
#include <string>
#include "../hubolib.h"
#include "../hubocfg.h"

Go to the source code of this file.

Functions

string GetDateTime (char seperator, char timeSeperator)
 
bool AppendFile (string sFile, string sText)
 
unsigned long GetADValueAndLog (unsigned char adPin, string sFile)
 
string Convert2String (long value)
 
int main (int argc, char *argv[])
 

Variables

char g_buffer [1024]
 

Function Documentation

bool AppendFile ( string  sFile,
string  sText 
)

Definition at line 293 of file BatteryTest.cpp.

string Convert2String ( long  value)

Definition at line 304 of file BatteryTest.cpp.

unsigned long GetADValueAndLog ( unsigned char  adPin,
string  sFile 
)

Definition at line 263 of file BatteryTest.cpp.

string GetDateTime ( char  seperator,
char  timeSeperator 
)

Definition at line 284 of file BatteryTest.cpp.

int main ( int  argc,
char *  argv[] 
)

Definition at line 50 of file BatteryTest.cpp.

Variable Documentation

char g_buffer[1024]

Definition at line 48 of file BatteryTest.cpp.