Web based serial interface

radcom

Member
I am trying to create a program what will set the 8 outputs on either an 18 or 28 pin picaxe the 18 is an 18-x and the 28 may be a 28-x1 but I?m not sure. The value is received via serial at 9600 baud from a computer, the serial data is sent as a number from 0 to 255 and I believe needs to be read into a variable which then the 8 output pins are set to.

My question is:
what would the program be for a 18-x or 28 (I know the clock needs to be set to 8mhz but will the serin command set it or does it need to be set with setfrq?

I do have a program which works at 2400 but will not work with my sender program (which is fixed at 9600 baud)

Any help is gratefully received
Radcom
 
Last edited by a moderator:
Top