how can i use the 18f452 as an i\o controller for a pc

Off-topic Or Otherwise...Say/Ask It Here
MAC49
Newbie Pyro
Posts: 8
Joined: Thu Apr 07, 2011 2:17 pm

how can i use the 18f452 as an i\o controller for a pc

Postby MAC49 » Thu Apr 07, 2011 2:38 pm

:shock: hello guys,i have an 18f452 pic i want to connect it to a serial port and send and receive data to and from its ports ,an example would be turn a led on port c and on port b turn it off using a switch i am using c18 to program the pic , very new to this any help would be great

ThePyroElectro
PyroElectro Admin
Posts: 1181
Joined: Mon Nov 12, 2007 9:24 pm
Location: Earth
Contact:

Postby ThePyroElectro » Thu Apr 07, 2011 4:37 pm

Hi MAC49,

Take a look at this tutorial:

http://www.pyroelectro.com/tutorials/simple_serial_rs232_interface/

It should help you get started.

MAC49
Newbie Pyro
Posts: 8
Joined: Thu Apr 07, 2011 2:17 pm

just what i needed

Postby MAC49 » Fri Apr 08, 2011 6:47 pm

thank you this should give me a great start on this project with regards mac49:D


Return to “Put'm Here”

Who is online

Users browsing this forum: No registered users and 3 guests