Hi Shane. I know you have been working with the PIC microcontroller so far. Might I suggest the MSP430 series from Texas Instruments. I understand that this microcontroller was designed specifically with C in mind.
TI have some low cost development modules that would seem suitable for your needs. The eZ430-F2013 http://focus.ti.com/docs/toolsw/folders/print/ez430-f2013.html The above costs $20 plus shipping. Three additional target boards can be obtained for the above http://focus.ti.com/docs/toolsw/folders/print/ez430-t2012.html for an additional $10 and the Launchpad http://focus.ti.com/docs/toolsw/folders/print/msp-exp430g2.html for a grand total of $4.30 This will give you a development platform and target devices - the MSP430F2013 for the first link above, 3 * MSP430F2012 for the second link and a couple of TI's MSP430 value line series with the Launchpad. There are at least 3 free development software suites for the MSP430 series of microcontrollers. I would recommend the EW430 from IAR. A code limited version of this, called Kickstart, is available from the IAR website. http://www.iar.com/website1/1.0.1.0/220/1/ TI usually include a copy of IAR Kickstart for the MSP430 in the CD accompanying the product. The Kickstart edition of the EW430 is limited to 4KB of C code. It is not restricted in the use of Assembly. TI also have their own development software called CCS (Code Composer Studio). A restricted version (8KB of C code) of this is also provided free-of-charge by TI. There are very many software example and user guides available on the TI website. For example... http://focus.ti.com/lit/ml/slaa427/slaa427.pdf Lastly, I would recommend you take a look at http://www.amazon.co.uk/MSP430-Microcontroller-Basics-John-Davies/dp/0750682 760/ref=sr_1_1?ie=UTF8&s=books&qid=1281476439&sr=8-1 You may be able to borrow this from a library. I have used these products and believe they would be suitable to learn both C and Assembler (should you desire the latter). I have no links with TI or IAR. Take care. Mike -----Original Message----- From: [email protected] [mailto:[email protected]]on Behalf Of Bjorn Again Sent: 10 August 2010 04:02 To: [email protected] Subject: RE: [c-prog] want to learn C, can someone give me an example? I am sure that I can buy a 250$ compiler to convert PBasic to hex, or ASM, or C, but there has to be an easier way! All the books on C I can find are oriented towards computer programming, not towards low level microcontroller operations. This project I am referencing here is a simple clock program, that will control 6 ICs. I don't know how, in C to do pin high/low statements and pauses, which is all I really need! I have MPlab IDE and the Pickit 2 to program and debug, but without the proper language to program a PIC with, I'm in Limbo! I'm pulling my hair out here! Shane To: [email protected] From: [email protected] Date: Mon, 9 Aug 2010 23:03:00 +0100 Subject: Re: [c-prog] want to learn C, can someone give me an example? [replying on-list] On Mon, Aug 9, 2010 at 10:35 PM, [email protected] <[email protected]> wrote: > I need to send a binary high or low over pins 1,2,4,8. I'm sending the data > to a 74141 Dixie bcd. Means not a lot to me, though I suspected you were expecting hardware output, hence the question. There's no 'standard' way of doing what you want - it's likely to be highly hardware/compiler specific. Which compiler do you have available for the hardware, if any? -- PJH [Non-text portions of this message have been removed] ------------------------------------ To unsubscribe, send a blank message to <mailto:[email protected]>.Yahoo! Groups Links No virus found in this incoming message. Checked by AVG - www.avg.com Version: 9.0.851 / Virus Database: 271.1.1/3061 - Release Date: 08/09/10 19:35:00
