jman
 Guru
 Joined: 12/06/2011 Location: New ZealandPosts: 711 |
| Posted: 10:27am 28 Jun 2011 |
|
|
|
Hi
Maybe something like this
10 setpin 1, 1
15 temp = 0
20 for I = 1 to 1000
25 temp1 = pin(1)
30 temp = temp + temp1
40 next I
60 print temp /1000
70 goto 15
Try that and see the difference
I am sure the gurus here can do a better job :)
John
|