2/1/2022

9v Battery Charger

  1. Best 9 Volt Battery Charger

Hello Alexander,
I really like your project and I want to build it, but I have struggled on compiling the code:
All libraries are installed, but still, have some compilation issues, any help will be appreciated:
calculations:16:1: error: 'mytime' does not name a type
mytime mills2time(unsigned long int time_mills){
^
lcd:67:30: error: 'mytime' was not declared in this scope
String construct_time_string(mytime timeinfo){
^
C:UsersAstrallDocumentsArduinochargerlcd.ino: In function 'String construct_time_string(mytime)':
lcd:67:45: error: 'String construct_time_string(mytime)' redeclared as different kind of symbol
String construct_time_string(mytime timeinfo){
^
C:UsersAstrallDocumentsArduinochargerlcd.ino:67:8: note: previous declaration 'String construct_time_string'
String construct_time_string(mytime timeinfo){
^
C:UsersAstrallDocumentsArduinochargermain.ino: In function 'void loop()':
main:186:84: error: no match for call to '(String) (mytime&)'
msg =String(M2S(msg_completed)+M2S(msg_space)+construct_time_string(elapsed_time));
^
Using library Wire at version 1.0 in folder: C:Program Files (x86)ArduinohardwarearduinoavrlibrariesWire
Using library Newliquidcrystal_1.3.5 in folder: C:UsersAstrallDocumentsArduinolibrariesNewliquidcrystal_1.3.5 (legacy)
Using library Time-master at version 1.5 in folder: C:UsersAstrallDocumentsArduinolibrariesTime-master
Using library TimerOne-master at version 1.1 in folder: C:UsersAstrallDocumentsArduinolibrariesTimerOne-master
Using library elapsedMillis-master at version 1.0.4 in folder: C:UsersAstrallDocumentsArduinolibrarieselapsedMillis-master
exit status 1
'mytime' does not name a type

Charger

Best 9 Volt Battery Charger

An affordable universal battery charger that will re-charge Ni-MH/Ni-Cd batteries in AA, AAA, C, D as well as 9V. It will also ensure long battery life by cutting-off the voltage when they are fully charged. The unit can charge in various configurations, for example 2 x 9V and 4 x AA batteries simultaneously. EBL 600mAh 9V 6F22 Li-Ion Rechargeable Batteries/ 4 Slots 9-Volt Battery Charger. $8.49 to $26.33. 9v battery charger. Showing 1 - 30 of 37 products. Showing 1 - 30 of 37 products. Add to wishlist. Duracell Plus Alkaline 9V Batteries - Pack of 2. Rating 4.900076 out of 5 (76) £6.50. Add to wishlist. Add to wishlist. Duracell 4 hours Battery Charger with 2 AA and 2 AAA.