James_From_Canb
 Senior Member
 Joined: 19/06/2011 Location: AustraliaPosts: 265 |
| Posted: 11:09am 30 Jun 2011 |
|
|
|
When in doubt, measure it.
For example, run this:
' Change line 10 each time you run this
10 P = 11
' make each pin a digital output and set each pin low
20 for n = 1 to 20: setpin n,8: pin(n) = 0: next n
' set the selected pin High. It will be the only one (except the 3.3V and 5V lines) that is high.
30 Pin(P) = 1
Then get a multimeter and check the DC voltage between the pin you think is 11 and Ground
Change line 10 to P = 12, and repeat. |