![]() | ![]() | ![]() |
| |||||||
| Micro Controllers Discuss all aspects of micro controllers - building them, coding them, etc. All controllers are welcome - PIC, BASIC, Z8 Encore!, etc. |
![]() |
| | Tools |
| | #1 |
|
Hi to all, Can anyone tell me the exact word to turn off all AD inputs on a PIC16F874 with Mikrobasic(7.0.0.2) as my build keeps balking at it and keeps thinking the ADSEL or ADCON words are identifiers and were not declared! I must be doing something stupid, come on guys embarrass me! ![]() PS no sleep yesterday so I may be hallucinating! ![]() Al
__________________ Founder member of the Campaign to do Something about the nonexistent word "Somethink" Last edited by bigal_scorpio; 11th October 2009 at 10:24 PM. | |
| |
| | #2 |
|
How about just this ADCON1 =6 'PORTA and PORTE digital You need to start reading the data sheet the part that said I/O ports Look at the shot I wrap it in red Last edited by be80be; 11th October 2009 at 11:11 PM. | |
| |
| | #3 | |
| Quote:
I honestly couldn't find that. Does this also negate the need to set the CCP modules as off too? Al
__________________ Founder member of the Campaign to do Something about the nonexistent word "Somethink" | ||
| |
| | #4 |
|
I didn't see where you had to do any thing with CCP If you go threw the I/O port part of the data sheet it show's you what to do. They all have it right here http://www.electro-tech-online.com/a...basic-read.png | |
| |
|
| Tags |
| mikrbasic, turning |
| Thread Tools | |
| Display Modes | |
| |
Similar | ||||
| Title | Starter | Forum | Replies | Latest |
| Help: LCD TV not turning on | bradsmith | Repairing Consumer Electronics | 3 | 10th August 2009 06:14 PM |
| turning mechanism | kashi | Robotics Chat | 2 | 14th December 2008 02:54 PM |
| Switch not turning on? | littletransistor | Micro Controllers | 2 | 3rd November 2008 09:55 AM |
| Turning 5 amps into 12 volts | superwolf | Electronic Projects Design/Ideas/Reviews | 19 | 19th September 2008 04:09 AM |
| Turning on LCD | sgboi | Electronic Projects Design/Ideas/Reviews | 16 | 25th September 2003 01:52 PM |