Quote Originally Posted by lerameur View Post
yep ok put this at ten and it now compile error free. Thanks for the cue really appreciate it.

But with ten elements:
Voltage_Charge_time_RTCSec var byte[10]
does that mean I can have only ten values? like:
Voltage_Charge_time_RTCSec var byte[0]
Voltage_Charge_time_RTCSec var byte[1].....
......
Voltage_Charge_time_RTCSec var byte[9]
Voltage_Charge_time_RTCSec var byte[10] ?????

Ken
yes thats what it means, except it will go from 0 - 9, not 0 - 10. 0 - 10 is 11 elements. What are you trying to save here? sec and min should never need to be over 60 hours would never need to exceed 12 or 24 days would never need to be more than 31 add months for up to 12. but I may very well be thinking a whole different thing.