[sdiy] PIC Programming
Wooster Audio
nathan at woosteraudio.com
Tue Apr 27 04:43:40 CEST 2010
The Microchip website has tons of great code examples and app notes.
The 16F688 is perfect for doing some simple MIDI stuff.
Unfortunately due to the architecture of the PIC, great C++ code will
not translate into great 8-bit PIC code. The PIC has a very simple
instruction set and only one general purpose register, so it may be
worthwhile to learn the PIC assembly language. Every device datasheet
has a section "Instruction Set Summary" explaining how it works.
Nathan
Ian Smith wrote:
> Hey Jay,
>
> My background in programming is a fairly decent understanding of C++ and some dabbling with the Arduino flavor of C.
>
> I ordered the "PIC Programmer: USB connection" from Futurlec: http://www.futurlec.com/PIC_Programmer.shtml
>
> and I ordered a pair of PIC 12F509s and a pair of 16F688s
>
> -Ian
>
>
> ----------------------------------------
>
>> Date: Mon, 26 Apr 2010 17:58:58 -0700
>> From: jays at aracnet.com
>> To: synth-diy at dropmix.xs4all.nl
>> Subject: Re: [sdiy] PIC Programming
>>
>> Ian,
>>
>> What's your background in programming and which one did you get?
>>
>> PICs vary quite a bit in architecture. They go from pretty obscure little devils to more or less real computers.
>>
>> I've used the PIC Start (40 pin ZIP socket) and MPLAB ICD2 for programming and MPLAB IDE for software and I pretty much program in assembly language. The SW is not the fastest and the break points aren't always right (in a lot of embedded environments this is normal) but the tools have always been good enough to get the job done.
>>
>> Jay S.
>>
>>
>> Ian Smith wrote:
>>
>>
>>> Hey all,
>>>
>>> I've ordered a PIC programmer from Futurlec and a couple
>>> PICs to try and do some digital work. Are there any tips/pointers I
>>> should know about writing code for these things or resources I should go
>>> check out that would help me?
>>>
>>> I've worked with the Arduino a bit
>>> before, but I'm not entirely sure how different the PICs are from that.
>>>
>>> Thanks
>>> for humouring my silly questions.
>>>
>>> -Ian
>>> _________________________________________________________________
>>> Hotmail has tools for the New Busy. Search, chat and e-mail from your inbox.
>>> http://www.windowslive.com/campaign/thenewbusy?ocid=PID28326::T:WLMTAGL:ON:WL:en-US:WM_HMP:042010_1
>>> _______________________________________________
>>> Synth-diy mailing list
>>> Synth-diy at dropmix.xs4all.nl
>>> http://dropmix.xs4all.nl/mailman/listinfo/synth-diy
>>>
>> _______________________________________________
>> Synth-diy mailing list
>> Synth-diy at dropmix.xs4all.nl
>> http://dropmix.xs4all.nl/mailman/listinfo/synth-diy
>>
>
> _________________________________________________________________
> The New Busy is not the too busy. Combine all your e-mail accounts with Hotmail.
> http://www.windowslive.com/campaign/thenewbusy?tile=multiaccount&ocid=PID28326::T:WLMTAGL:ON:WL:en-US:WM_HMP:042010_4
> _______________________________________________
> Synth-diy mailing list
> Synth-diy at dropmix.xs4all.nl
> http://dropmix.xs4all.nl/mailman/listinfo/synth-diy
>
>
More information about the Synth-diy
mailing list