07-17-2008 06:37 PM
07-18-2008 02:27 AM - edited 07-18-2008 02:31 AM
Hi MindstormsKid,
why do you want to display 97? I thought you have 0 to 100 as input and you want 0 to 850 as output! Isn´t it correct? How do you get the 697?
Don´t use the divide function. As i said before, calculate only with integers and if you want to display something you can use the string subset function, to get only a part of it.
Mike
07-18-2008 11:11 AM
07-18-2008 05:51 PM
07-22-2008 10:29 AM
07-22-2008 03:21 PM
07-30-2008 04:45 PM
09-17-2008 12:31 PM
Sorry about the long wait, Mike, but I've been very busy 😞
I think the problem was that I had been changing your code a little bit, but I changed it back so now it works fine. One question... How does it (the new one) work? Even if I hold the motor still or at around 50% power, it still says "0" or "50". Thanks.