Searching \ for 'ASCII routines' in subject line. ()
Make payments with PayPal - it's fast, free and secure! Help us get a faster server
FAQ page: techref.massmind.org/techref/index.htm?key=ascii+routines
Search entire site for: 'ASCII routines'.

Truncated match.
PICList Thread
'ASCII routines'
2000\02\01@081658 by Thomas Thorsen

picon face
<x-flowed>Hello everybody

Has anybody got some routines for sending data to a computer via a serial
port, using the PIC16F84. I need to send values between 0 and 255, and as
far as i know this is ANSI instead of ASCII wich only permits 7 bit values
(0-127). I have a simple routine for sending characters but i don't know if
it can send values higher than 127.
______________________________________________________
Get Your Private, Free Email at http://www.hotmail.com

</x-flowed>

2000\02\01@092349 by Michael Rigby-Jones

flavicon
face
part 0 1195 bytes
<P><FONT SIZE=2 FACE="Arial">Has anybody got some routines for sending data to a computer via a serial</FONT>
<BR><FONT SIZE=2 FACE="Arial">port, using the PIC16F84. I need to send values between 0 and 255, and as</FONT>
<BR><FONT SIZE=2 FACE="Arial">far as i know this is ANSI instead of ASCII wich only permits 7 bit values</FONT>
<BR><FONT SIZE=2 FACE="Arial">(0-127). I have a simple routine for sending characters but i don't know if</FONT>
<BR><FONT SIZE=2 FACE="Arial">it can send values higher than 127.</FONT>
</P>
</UL>
<P><FONT COLOR="#0000FF" SIZE=2 FACE="Arial">Are you sending text or a straight binary value?&nbsp; If the latter, then as long as your PIC send routine uses an 8 bit format, which is by far the most common serial format, then you should have no problems and ASCII and ANSI have nothing to do with it.</FONT></P>

<P><FONT COLOR="#0000FF" SIZE=2 FACE="Arial">Mike</FONT>
</P>

</BODY>
</HTML>
</x-html>

2000\02\01@124036 by Don McKenzie

flavicon
face
Thomas Thorsen wrote:
>
> Hello everybody
>
> Has anybody got some routines for sending data to a computer via a serial
> port, using the PIC16F84. I need to send values between 0 and 255, and as
> far as i know this is ANSI instead of ASCII wich only permits 7 bit values
> (0-127). I have a simple routine for sending characters but i don't know if
> it can send values higher than 127.

Then this tutorial may be just what you need.It covers a lot of ground:

Need RS-232 routines for PICmicros without UARTs?

Basic Stamp Compatible PIC Source Book/Disk On-Line Version Free!
Now converted to MicroChip Code, still available in Parallax Code.

A collection of ready-to-use assembly language routines
based on the instruction set of the BASIC Stamp ¨ single-board
computer by Scott Edwards Electronics.
                                               
Serin (receive data) receives a byte or string of bytes serially.
Optionally filters incoming data to a particular range of ASCII
characters, such as numbers.

Serin (convert # data) converts a numeric text string received
by Serin into a 16-bit number.
 
Serin (check qualifiers) determines whether text received by
Serin matches a table of qualifiers (password).  

Serout (send data) transmits a byte or string of bytes serially
 
Serout (format # data) converts a 16-bit number into a counted
string for transmission by Serout.  

Includes useful schematics.
For MicroChip code:
http://www.dontronics.com/convert.html
For Parallax code:
http://www.dontronics.com/see.html

Don McKenzie    spam_OUTdonTakeThisOuTspamdontronics.com      http://www.dontronics.com

World's Largest Range of Atmel/AVR and  PICmicro Hardware and  Software.
Free Basic Compiler and Programmer http://www.dontronics.com/runavr.html

2000\02\01@180925 by Tony Nixon

flavicon
picon face
Thomas Thorsen wrote:
>
> Hello everybody
>
> Has anybody got some routines for sending data to a computer via a serial
> port, using the PIC16F84. I need to send values between 0 and 255, and as
> far as i know this is ANSI instead of ASCII wich only permits 7 bit values
> (0-127). I have a simple routine for sending characters but i don't know if
> it can send values higher than 127.
> ______________________________________________________
> Get Your Private, Free Email at http://www.hotmail.com


See http://www.picnpoke.com/projects/RS232.asm

It has code with True and Inverted Tx/Rx for PIC to PC connection via
MAX232 or direct through resistors at 1200 baud.

You can use http://picnpoke.com/terminal.zip for PC comms if you like.

--
Best regards

Tony

http://www.picnpoke.com
.....salesKILLspamspam@spam@picnpoke.com

More... (looser matching)
- Last day of these posts
- In 2000 , 2001 only
- Today
- New search...