Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

ASM programming - RB6 and RB7 as Digital I/O, async and UART

Status
Not open for further replies.

evios

Junior Member level 1
Joined
Nov 26, 2008
Messages
15
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
1,420
ASM programming

Hi to all ASM masters. Basically i am doing a project on wattmeter using PIC, LCD and other components like CMOS voltage converter, 3.3V regulator etc. But when it comes to ASM, i headache.

To be honest I am getting the asm source code from the web (here), and the latest is that the digital IO on RB6 and RB7 is enabled. However when I go through the code, that two ports are used for page button and hold button. Cause if possible, I might make use of the 2 digital I/O and connect it to my module.
3174306736_38d061f2b7_o.png



The author tell me that 16F88 has a serial port which can be run in synchronous SPI mode
(3 wires), I2C mode (2 wires) or async (RS232). The serial port uses some of the pins that are currently allocated to the LCD.

Something that I might need to make it clear:
1. Does the RB6 and RB7 served as Digital I/O?
2. Might need to know how am i manage to connect the async to the UART of my module?
based on the ASM source code?

Thanks for the help. I really really appreciate it. [/img]
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top