![]() | ![]() | ![]() |
| | |||||||
| Micro Controllers Discuss all aspects of micro controllers - building them, coding them, etc. All controllers are welcome - PIC, BASIC, Z8 Encore!, etc. |
| | LinkBack | Thread Tools | Display Modes |
| | (permalink) |
| Hi Since my last posts I have had some great help from a member here to get my project off the ground, we decided pots would be best for speed and stroke so had to upgrade to the 16f818 chip The problem now is just running a basic set of commands Code: loop: StepCCW 150, 1000 WaitUs 1000 StepCW 150, 1000 WaitUs 1000 Goto loop The 84a has a 4meg OSC the 818 needs to be set so we added this to the top of the file Code: OSCCON = 0x60 I am using the Oshonsoft Bacis compiler and ICProg ICProg settings are intRC, CP Off, WRT Off, FUSES: PWRT & MCLR are ticked and the rest are unticked. Any help would be greatfully appreciated, thanks | |
| |
| | (permalink) |
| Have you setup ADCON1 so you have the correct pins as analogue or digital? Mike. | |
| |
| | (permalink) |
| hi, Did you get my email regarding what is connected to PIC pins 15/16 on the 16F84A socket??
__________________ Eric "Good enough is Perfect" PIC tutorials: Gramo's: www.digital-diy.net/ Bill's: www.blueroomelectronics.com/ | |
| |
| | (permalink) |
| Hi Mike / Eric Mike ADCON1 = 0x05 Eric, yes and I sent you a reply with an image attached,let me know if you get it. | |
| |
| Bookmarks |
| Thread Tools | |
| Display Modes | |
| |
| | ||||
| Title | Starter | Forum | Replies | Latest |
| Question about Inchworm+ | Quan | Micro Controllers | 54 | 28th October 2007 01:21 AM |
| First Program in assembly, And Programmer Inchworm. | Ayne | Micro Controllers | 10 | 9th March 2007 08:27 PM |
| 16F84A programming error using P16PRO40 | rizzy | Micro Controllers | 21 | 11th December 2004 07:17 AM |
| schematic & program to program pic 16f84a plz | mafiaaa | Micro Controllers | 2 | 27th November 2004 05:00 PM |
| PicBasic Keypad program | Sora | Micro Controllers | 0 | 20th April 2004 08:02 PM |