|
||||||
| General Programming Non language specific, Assembly, Linux/Unix, Mac and anything not covered in other topics. Talk about Programming Theory here. |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
|
|||
|
i'm facing a problem with my final year project.
the situation is, if switch 1 is pressed, LED will light up and when switch 2 is pressed again, the LED will go off. I have attach a text file, which i done half way. So i need someone to guide me along with the programming part. For your information, I'm using the PIC16C745 microchip. ![]() Last edited by wenwang; 04-16-2007 at 03:07 AM. Reason: forget to attach the text file |
| Sponsored Links |
|
|
|
|||
|
i re-write the program again with comments on it..
so i think it will be easier for you all to understand what i'm writing. anyone whose know how to edit my program to uses 2 switches to on/off LED can reply asap ? as tml i need to hand up to my supervisor. thank you! |
|
|||
|
Quote:
you have one problam because you call to main programme which out to on you have declare of main method to call a noop but you have declare of portb,1 those have retrive of port number0 but post are declare of 1to o some problam are declare and some problam have call method |
| Sponsored Links |
|
|
|
|||
|
Hi
you have one problam because you call to main programme which out to on you have declare of main method to call a noop but you have declare of portb,1 those have retrive of port number0 but post are declare of 1to o some problam are declare and some problam have call method |
![]() |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | Search this Thread |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| A cool project idea. | AlexanderRybak | Community Projects | 3 | 02-11-2008 03:37 AM |
| Project: Iterate | AlexanderRybak | Community Projects | 4 | 02-28-2007 05:07 PM |
| Contributing to a project | Jordan | Community Projects | 7 | 09-15-2006 05:43 PM |
| Community Project! - Recent project gone sour | Crane | C# Programming | 5 | 09-09-2006 03:13 PM |
| Embed and run an EXE from inside project | NeedHelp | C# Programming | 0 | 06-13-2006 04:02 PM |
| WingedPanther | ........ | 2753.6 |
| Xav | ........ | 2704 |
| Brandon W | ........ | 1702.32 |
| John | ........ | 1207.73 |
| marwex89 | ........ | 1175.24 |
| morefood2001 | ........ | 966.05 |
| dcs | ........ | 655.75 |
| Steve.L | ........ | 475.59 |
| orjan | ........ | 418.58 |
| Aereshaa | ........ | 383.54 |
Goal: 100,000 Posts
Complete: 98%