ROBOTC.net forums
http://robotc.net/forums/

EV3 getBatteryCurrent not return value
http://robotc.net/forums/viewtopic.php?f=1&t=13487
Page 1 of 1

Author:  mawin [ Sat Feb 27, 2016 6:18 pm ]
Post subject:  EV3 getBatteryCurrent not return value

Hi,
I am trying to use getBatteryCurrent function for my EV3, but I do not get value. I always obtain just 0.
I have used latest version of RobotC 4.52
Is this function working for EV3 ?
Thanks
Martin

Author:  CARBOT [ Sat Feb 27, 2016 7:44 pm ]
Post subject:  Re: EV3 getBatteryCurrent not return value

Please post your code.

Author:  mawin [ Wed Mar 02, 2016 5:41 pm ]
Post subject:  Re: EV3 getBatteryCurrent not return value

Hi,
sorry for mistake.
I have evaluated current value by datalogAddValue and it handle just integer value so 0.5A was recorded as 0
Thanks for answer
Martin

Page 1 of 1 All times are UTC - 5 hours [ DST ]
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
http://www.phpbb.com/