![]() | ![]() | ![]() |
| |||||||
| Micro Controllers Discuss all aspects of micro controllers - building them, coding them, etc. All controllers are welcome - PIC, BASIC, Z8 Encore!, etc. |
![]() |
| | Tools |
| | #1 |
|
Is anybody using this? Trying to find documentation on I/O. I did d/l the docs I found at the site but did not find any I/O specific info. I like the config / setup wizard, generates all of the config code for the chip. Mike | |
| |
| | #2 |
| Hey, ya, I'm using it. It's my favourite compiler for PICs. Whats up?
| |
| |
| | #3 |
|
looking for info on how to use the I/O, usart and adc. I did not find much in the manual on the download page. Mike | |
| |
| | #4 | |
| Quote:
My UART Code For the chip 16F886 but a lot of other chips can be used to substitute given that they have UART and the like. As for usage of IO, it's as easy as PORTC = 0x00 or PORTC = 0b10101010 in binary representation. Very easy to translate from assembler. For example, to make my UART code above, I looked at the code here: 16F628 UART test and translated parts of it to C. Very easy to do. Last edited by solarwind; 21st January 2009 at 06:26 AM. | ||
| |
| | #5 |
|
And if you want to know how to use ADC, you can look at some sample ADC code in asm and port it to C. For example, my PICKIT2 demo board came with some sample applications in asm. One of the samples demonstrated the use of ADC. Take a look: Sample ADC Code It's really easy to port to C. Last edited by solarwind; 21st January 2009 at 06:32 AM. | |
| |
| | #6 |
|
The manual is actually quite useful. If you're using windows, it is in C:\Program Files\HI-TECH Software\PICC\PRO\9.60\docs or something like that. The file is called "manual.pdf". In Linux, it could be anywhere, lol. I would guess that it's somewhere in /usr/local. Search your filesystem for it, it should be there. The datasheet for your microcontroller chip will also be very useful to get things going. | |
| |
| | #7 |
|
Thanks for that info, I tried the Hi Tech and liked the chip setup wizard but the manuals leave a bit to be desired (at least for me re-learning 'c'). I do use Linux as my desktop and have heard there is some pic software out there but have not tried it yet. I use RDP (Remote Desktop) to an old Dell P3 w/xp pro and MPLAB to work with my Junebug because it's just easy (ethernet cable to the net switch and usb to junebug). I'm also going to check out the Microchip C18. Mike | |
| |
| | #8 | |
| Quote:
Last edited by solarwind; 21st January 2009 at 09:02 PM. | ||
| |
| | #9 | |
| Quote:
I use openSuSe for the desktop, and I have a machine that runs Centos for some ham radio stuff. I want to do a few projects that I can use with my radio gear, digital in's to monitor status, and the analog in to monitor power supply's and etc and send it via rs232 to the computer. A while back I saw a software package that would take the serial data and send it over the network to another machine, kinda sorta what I want to do. Mike | ||
| |
|
| Tags |
| tech |
| Thread Tools | |
| Display Modes | |
| |
Similar | ||||
| Title | Starter | Forum | Replies | Latest |
| while(feet!=wet) { search(friendly="Linux", hardware="avr", software="kde desktop");} | FirefighterBlu3 | Micro Controllers | 6 | 12th September 2008 06:31 PM |
| Can WE "The Electro-tech-online" make a compation | Rami00972 | Electronic Projects Design/Ideas/Reviews | 134 | 18th May 2008 12:35 PM |
| Changing "dark on" switch to "light on" | NewUser | General Electronics Chat | 3 | 15th September 2007 04:30 AM |
| What the "JK" means in "J-k flip-flop" | windozeuser | General Electronics Chat | 28 | 18th October 2004 02:06 PM |
| Lack of Comment input under "Electro Tech Content" | Dean Huster | Feedback/Comments | 0 | 7th February 2004 06:57 AM |