Looks like you need Extra_LONGS for that.
The multiplication over flows the LONG VAR.
Try
Code:current_voltage = 49800 P = 7861 * current_voltage P = P / 4868 * 10
Looks like you need Extra_LONGS for that.
The multiplication over flows the LONG VAR.
Try
Code:current_voltage = 49800 P = 7861 * current_voltage P = P / 4868 * 10
Dave
Always wear safety glasses while programming.
Bookmarks