Source code editing(PR16)

LED Blinking, Walking with Cytron Servo, Displaying RFID, Multi-function Mobile Robot......

Source code editing(PR16)

Postby fazwan_2801 » Mon Aug 30, 2010 2:26 pm

for this DIY project(sending data using RF module)..I want to add a 4 way DIP switch to the transmitter and receiver..but in what part do the source code need to be edited for the switch to operate?
can admin or anybody can help me please...huhu :(
fazwan_2801
Newbie
 
Posts: 13
Joined: Tue Aug 03, 2010 5:32 pm

Re: Source code editing(PR16)

Postby hyng » Mon Aug 30, 2010 2:56 pm

Please post your topic in the correct forum.
viewforum.php?f=16
User avatar
hyng
Moderator
 
Posts: 292
Joined: Thu Apr 16, 2009 11:35 am

Re: Source code editing(PR16)

Postby ober » Mon Aug 30, 2010 3:03 pm

Moved to be under DIY Project set.

Microcontroller project require understanding of both hardware and software. To add 4 switches to this DIY project, modification on circuit is essential.

As for the software, PIC require the setting of Input and Output for each pin, which can be done through TRISx (x refer to the port uses), further is to check whether to status of switch changes and act accordingly.
Ober Choo
Cytron Technologies Sdn Bhd
www.cytron.com.my
User avatar
ober
Moderator
 
Posts: 1486
Joined: Wed Apr 15, 2009 1:03 pm


Return to DIY Project Set

Who is online

Users browsing this forum: No registered users and 13 guests