howdy, i've just begun using MPLab and PIC programming and have no clue as to how i should go about doing this project. i understand what it wants me to do, i just can't come up with the code to do it.
im using the 16f84a device
basically i need to implement a serial to parallel converter with an RS-232 communications standard.
as i understand it, when a byte of data comes in (through the pin RA0), the start bit is detected. and then after delaying 1.5 periods, bit sampling occurs every period until all 8 bits are sampled. then i need to copy this parellel data to portb and set the 'DA' flag (which is assigned to pin RA1) to high when new data is available. the output needs to be double-buffered.
i have a basic outline of how things should be done, but how exactly do i code this?
thanks for any help
Bookmarks