Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
I would advise that you learn standard C first. Embedded C is only slightly different and the differences are more to do with the hardware limitation than anything else. What hardware do you have to run the programs?
Mike.
I have a junebug on the way.
I would start searching for an IDE that supports the µC you'll be working with (Try to get one that comes with a debugger). Learn on that, so that while you learn C, you are also learing about your chip. Makes sense? I'm not familiar with Junebug, but have seen it mentioned quite often. Is it for Windows apps or embedded?
What µc will you be using? Depending on what it is, there may be a free IDE you can download. If not an IDE, than maybe a compiler. "Embedded C" is a misnomer in that there is only one C that I know of. You have different flavors, but for the most part they are the same. The biggest difference will probably be in the use of the library. You may use different libraries for a windows app. then for an embedded app, for instance.
Junebug (PICKIT 2) is a PIC Programmer / debugger, Onboard tutor support for either 16F88 or 18F1320, Supports both MPLAB IDE 8.x and standalone PICKit2 software.
Pommie is correct.
It is easier to learn C then apply it to the embedded processor. It may be painful to leave the Junebug sit while you learn C but it is the best way to do it.
I have tutorial that is very detailed on understanding what goes into a C program for the Junebug. See my homepage link in my signature.
I've found, through my own experience, that learning a programming language based on an embedded processor is the way to do it. There really isn't that much difference between the two as far as the programming language goes. If you never will be working with Windows apps, why bother? True, learning C for Windows or DOS base apps has it' advantages, but there are many library functions he will never use with an embedded application. My point was, he can become more familiar with his IDE while learning C at the same time. But that' just me. I'm a quick study a learn faster by doing it that way but he will need to go with what works best for him.
But on the plus side, it could give him a broader view of C and it's capabilities. But personally, if I needed to use Windows for anything, it would be in VB.
I would advise that you learn standard C first. Embedded C is only slightly different and the differences are more to do with the hardware limitation than anything else. What hardware do you have to run the programs?
Mike.
I also, would endorse the following advice.
I don't know why some people respond to something which is clearly outside of their range of knowledge, or experience. The mention of a Junebug should have been enough, on this board, to communicate the OP is using the PIC micro.
I would get a C programmers handbook. Something really basic. Maybe "C for Dummies".
http://www.c-for-dummies.com/
You don't want just a dictionary. You want something that better explains the keywords and has examples. "Sams C Primer" is a good resource. Go to your local library. You should find a lot of resources there.
In addition to the good advice of Rezer, I would recommend "The C Programming Language" - Second Edition - by the inventors of the language Dennis Ritchie, and Brian Kernighan.
There are also some free sources: If you download a demo compiler and view the help file... I like Source Boost -
**broken link removed**
but I think the CCS help file is also quite good but you do have to answer some questions before downloading -
http://www.ccsinfo.com/demopoll.php
and there are lots of references on the net:
http://www.cprogramming.com/reference/