thanks guy's
I was going for the following
636 was the running total of 10 samples minus the highest and lowest. That left 8 samples.
I therefore wanted to divide 636 by to get 79.5.
I...
Type: Posts; User: Big Gaz; Keyword(s):
thanks guy's
I was going for the following
636 was the running total of 10 samples minus the highest and lowest. That left 8 samples.
I therefore wanted to divide 636 by to get 79.5.
I...
Cheers Alain,
Anything to make the code look better and save code space :)
Having a bit of a problem with the final maths i.e. dropping the highest and lowest readings and divide result 8.
...
Sorted it!
It was another issue lower down in the code, a missing ENDIF causing the compiler not to find the the two NEXT statements. :rolleyes:
It was really bugging me for a while. Should...
Hi Guy's
I'm having problems with MCSP and PBP reporting a for..next loop error for the code below.
the error reported is:
'Error Line 94: FOR without matching NEXT. (sampling.pbp)
'Error...
here is my code
mainloop:
for index = 1 to 3 step 1 ; read 10 values for 3 sensors
For index2 = 1 to 10 step 1 ; Take 10...