I'm a little confused with pin numbers on the Picaxe 28 project board
December 3, 2010
I have a motor driver fitted to the board, and 2 motors connected to the 2 sets of motor pins. These motors are driven in the code using low 4 : high 5 : high 6 : low 7.
I have a servo fitted to pin 0, and some led's fitted to pins 1, 2, and 3.
This all works fine, and it does what I want.
There are "vacant" digital output pins, which are numbered on the board 4, 5, 6 and 7, which are the same numbers that the motors use.
I want to fit a speaker to pin 4 (as numbered on the board) but am worried that I may blow something up, or at least I can't seem to get my head around using the same numbers for different things.
Can someone explain it to me, or at least tell me if it would be OK or not.