Serial coding

Hi all

With a projects I have in mind I'm looking at sending some 2byte serial commands at 19200 baud from a picaxe.

Unfortunately this is quite new and was looking for info that would help me through implementing this into a programme.

Looking for help files or similer.
Any info would be good.

Cheers.
 

MPep

Senior Member
Hi WW,

Not quite certain what you are after.
In manual, check out SERIN, SEROUT and related commands.

What is new? Or is it new to you?:)

MPep.
 

westaust55

Moderator
It would be better if you advised which PICAXE chip you are using or looking to purchase. Then answers can be better aims to match your hardware.

If you have an X1 or X2 PICAXE chip, also have a look at the hsersetup, hserin and hserout commands.
 
Hi Guys

Sorry for not being clear,It's new to me!!
I have to write a code that will send serial commands from a picaxe to a unit that receives the commands and then uses them to control servos. I am open to any of the picaxe chips that will do the job.

The serial commands are will be sent randomly so I need to put some sort of code in to do that.So so long as I get a random 2byte code out of the picaxe.

Cheers
 

hippy

Ex-Staff (retired)
The X1 and X2's will all output 19200 baud and the 18X can achieve that albeit with a bit more difficulty. Being new I'd recommend an X1 or X2.
 
Top