Olin Lathrop | 7 Sep 14:21
Gravatar

Re: [PIC] RS232 serial example code for a PIC16F84A

Grant Brown wrote:
> As I have said in other reply's, I did not say that the 16F84A is the
> right processor, buts its one that I have and as such I can without
> spending any further dollars start to explore the MCU world.

Get a few free samples of the 16F88 or one of the more modern PICs that are
pin-compatible with the archair 16F84 and inlude a UART.  Experiment with
the basic PIC 16 architecture with the '84 until the samples arrive.  There
will be lots to learn to get the first LED to blink.  Just getting used to
MPASM/MPLIB/MPLINK and debugging in MPLAB is a necessary step that can be
done pretty much on any chip, including the dinosaurs you have.

By the time you're ready for dealing with the UART, you'll have the samples
with the hardware UART.

> I had a look at some "C" bit banged RS232 serial source code.

Forget about C for starters.  Do the LED blinking and the first UART code in
assembler.  Once you have a basic working knowledge of that, then you can
start playing with C.

********************************************************************
Embed Inc, Littleton Massachusetts, http://www.embedinc.com/products
(978) 742-9014.  Gold level PIC consultants since 2000.
--

-- 
http://www.piclist.com PIC/SX FAQ & list archive
View/change your membership options at
http://mailman.mit.edu/mailman/listinfo/piclist


Gmane