Shivam Garg
/
EVAL-ADBMS2950_copy
Diff: program/inc/print_result.h
- Revision:
- 6:5d29fdcbae72
- Parent:
- 1:94a3e8fe5e25
- Child:
- 9:0a4828d32e76
--- a/program/inc/print_result.h Tue Jul 28 07:32:42 2020 +0000 +++ b/program/inc/print_result.h Thu Jul 30 10:42:10 2020 +0000 @@ -44,9 +44,12 @@ void printMenu(void); void printMsg(char *msg); void printPollAdcConvTime(int count); +void printResultCount(int count); +void readUserInupt(int *user_command); float getVoltage(int data); float getCurrent(uint32_t data); float getAvgCurrent(uint32_t data); +float getAvgVbat(uint32_t data); float getOverCurrent(uint8_t data); #endif /* __RESULT_H */