I am just new to lejos and I am currently working through the tutorials,
when I compile the BatteryLow class I keep getting the following error.
BatteryLow java21 cannot resolve symbol
symbol method getBatteryPower()
location class josx.platform.rcx.ROM
float voltLevel = (ROM.getBatteryPower() * 10 /355);
Could any one please explain to me why this is happening and also how the battery voltage is calculated with the formula
(ROM.getBatteryPower() * 10 /355);
This is where you talk about the RCX software itself, installation issues, and programming talk.
2 posts • Page 1 of 1
Who is online
Users browsing this forum: No registered users and 0 guests