Subroutine problem with PIC18F452

(instructions, reset, WDT, specifications...) PIC17Cxx, PIC18Fxxx

Re: Subroutine problem with PIC18F452

Postby Tom Maier » Wed Jul 02, 2014 3:09 pm

I wil probably get slammed for saying this on a Pic forum, but I think that Arduino is going to be great for you. The development toolkit package they have developed for it free and easy to use. It contains many library features that work right out of the box. It hides all the nasty set-up of the chip and auto-inserts it for you at compile time. It was designed by people who didn't want to get burdened down with learning the chip internals and all the nasty stuff you have to do to accomplish commonly done tasks. I used one in a project and was just amazed at how simple it was. I interface some pushbuttons, a dual seven segment LED display, DAC output, and several ADC inputs... had the project done coding in less than a week, even though I had never done an Atmel chip before. They have good documentation at the Arduino site and a very helpful forum group (but it worked so well I didn't need help anyway).

Oh-oh... dirty looks from the pic people... I'm edging towards the door now... here they come...

AAAAaaaaaahhhhh!
User avatar
Tom Maier
Verified identity
 
Posts: 179
Joined: Mon May 26, 2014 2:37 pm
PIC experience: Professional 5+ years with MCHP products

Re: Subroutine problem with PIC18F452

Postby Tom Maier » Wed Jul 02, 2014 3:14 pm

Oh yeah...

Don't go pokin' in the .h files yet. Those are header support files. Just start walking through the tutorials they have for writing and loading your main code to the chip. Get instant gradification and then you can poke into the system internals later, when you have blinked some LEDs.
User avatar
Tom Maier
Verified identity
 
Posts: 179
Joined: Mon May 26, 2014 2:37 pm
PIC experience: Professional 5+ years with MCHP products

Re: Subroutine problem with PIC18F452

Postby drh » Wed Jul 02, 2014 3:17 pm

TOM! :o
Go sit in the corner and think about what you have done. :cry:
User avatar
drh
Verified identity
 
Posts: 61
Joined: Tue May 27, 2014 3:31 pm
Location: Hemet, Calif.
PIC experience: Professional 5+ years with MCHP products

Re: Subroutine problem with PIC18F452

Postby Tom Maier » Wed Jul 02, 2014 3:25 pm

After using the arduino, I washed my hands several times and then used an anti-atmel soap.

I'm OK now.

Really.
User avatar
Tom Maier
Verified identity
 
Posts: 179
Joined: Mon May 26, 2014 2:37 pm
PIC experience: Professional 5+ years with MCHP products

Re: Subroutine problem with PIC18F452

Postby drh » Wed Jul 02, 2014 6:40 pm

I've actually used an Atmel chip once. I was paid to so that made it okay. Right?
User avatar
drh
Verified identity
 
Posts: 61
Joined: Tue May 27, 2014 3:31 pm
Location: Hemet, Calif.
PIC experience: Professional 5+ years with MCHP products

Re: Subroutine problem with PIC18F452

Postby Tom Maier » Wed Jul 02, 2014 6:57 pm

You were sure to use the soap afterwards, right?

If you use the msp430, then you have to get injections, cause a topical just isn't strong enough.
User avatar
Tom Maier
Verified identity
 
Posts: 179
Joined: Mon May 26, 2014 2:37 pm
PIC experience: Professional 5+ years with MCHP products

Re: Subroutine problem with PIC18F452

Postby Ian.M » Wed Jul 02, 2014 7:15 pm

http://www.digilentinc.com/chipKIT/

PIC32 Arduino compatible boards. Use a fork of the Arduino IDE or use MPLAB and XC32 if you want to hit the bare metal.
Ian.M
Verified identity
 
Posts: 95
Joined: Wed May 28, 2014 12:47 am
PIC experience: Professional 1+ years with MCHP products

Previous

Return to 16-Bit Core

Who is online

Users browsing this forum: No registered users and 10 guests

cron