PDA

View Full Version : HSERIN and HSEROUT commands



ryan
- 5th January 2007, 15:34
HSERIN-HSEROUT
can anyone explain me the usage of these commands?
i know they are for hardware USART
i know HSERIN [buffer] writes incoming data to the buffer variable
i know HSEROUT [buffer] send buffer variable from serial connection
but i dont know what is that 10, 13...?
Hserout ["byteValue: ", DEC byteIn, 10, 13]
Hserout ["USART Overrun", 13, 10]

there is noting useful about this in the help file of microcode studio and other sources.only these 2 lines
HSERIN {ParityLabel,}{Timeout,Label,}[Item{,...}]
HSEROUT [Item {,Item...}]

skimask
- 5th January 2007, 15:38
HSERIN-HSEROUT
can anyone explain me the usage of these commands?
i know they are for hardware USART
i know HSERIN [buffer] writes incoming data to the buffer variable
i know HSEROUT [buffer] send buffer variable from serial connection
but i dont know what is that 10, 13...?
Hserout ["byteValue: ", DEC byteIn, 10, 13]
Hserout ["USART Overrun", 13, 10]

there is noting useful about this in the help file of microcode studio and other sources.only these 2 lines
HSERIN {ParityLabel,}{Timeout,Label,}[Item{,...}]
HSEROUT [Item {,Item...}]

Have you got the PBP manual handy?

ryan
- 5th January 2007, 15:40
no, :( i haven't.

ryan
- 5th January 2007, 15:48
how can i find it?

mister_e
- 5th January 2007, 15:52
http://www.asciitable.com/asciifull.gif

PBP manual usually comes withthe software but, you can also find it on the Melabs website...http://melabs.com/downloads/pbpm304.pdf

skimask
- 5th January 2007, 16:01
PBP manual usually comes withthe software but, you can also find it on the Melabs website...http://melabs.com/downloads/pbpm304.pdf


That's wierd. I thought it always came with the software.

keithdoxey
- 5th January 2007, 21:32
That's wierd. I thought it always came with the software.

I think it depends on where the software comes from..... if you get my drift!

Mine certainly came with a manual :D

Archangel
- 5th January 2007, 21:32
That's wierd. I thought it always came with the software.
One for your list?

skimask
- 6th January 2007, 05:36
One for your list?

My list... Why, I have no idea what you're talking about.... :)

ryan
- 6th January 2007, 22:11
thnx everyone, the pdf answered all my questions...