JRock Posted June 16, 2011 Report Posted June 16, 2011 Is C the most practical? where do I start? I have no idea. figgered this is the best place to ask :sorcerer: I want to be able to write code for PIC and Arduino... Please give me a little guidance, or point me in the right direction :flowers: Thanks :thumbsup: Quote
nILS Posted June 16, 2011 Report Posted June 16, 2011 This is a good place to start: http://tinyurl.com/3vbpfkl Quote
JRock Posted June 16, 2011 Author Report Posted June 16, 2011 He he he :blush: No. That certainly wasn't hard. But of course I already googled. :angel: There is so much infos out there. Guess I'll check out Beginning C Programming :laugh: Thanks Did you write that little program? Very Cute. In C? Is that the way to go? C? This is all alien to me. Quote
kristal= Posted June 16, 2011 Report Posted June 16, 2011 @JRock: I recently asked nILS the same question. He said, don't buy a book, start coding. He's probably so short-sentenced, because countless people ask the same question over and over again. A friend of mine told me, that the sample code for the Arduino is super understandable and a good way to learn coding because it gives you a quick feeling of sucess. Lucky me, I was able to avoid coding so far. :sweat: Hopefully I'll stay lucky for a long time :D Quote
levon Posted June 16, 2011 Report Posted June 16, 2011 I think alot of people here started programming on the C64 (in basic?) hehe, well i did. Follow toolchain info on the wiki, and also check some examples on http://ucapps.de/mios8_c.html or http://ucapps.de/mios32_c.html, as well as the many C tutorials online. Quote
Digineural Posted June 16, 2011 Report Posted June 16, 2011 Arduino is a good start for getting used to C coding structure, data types, registers and hardware programming. Its also helps deal with the concept of code abstraction layers. MIOS8 and MIOS32 are both abstraction layers that handle common routines on top of the specific platform architecture. Since TK does a pretty amazing job at abstracting routines in the MIOS, most of your custom programming with be with MIOS routines. So it's pretty safe to go that far without having to dive to deep into the platform specific architecture. Then again, you can always go deeper. :whistle: If you're planning on doing MIOS8 programming though, you might have to get into some ASM, whereas the MIOS32 is all C++. C/C++ also transposes well into Java and C# if your going to extend your knowledge, as they are similar coding styles. Albeit targeted to different platforms. Good luck! :thumbsup: Quote
Hawkeye Posted June 16, 2011 Report Posted June 16, 2011 Yup, I´d recommend the Mios32 tutorials, easy to understand, well documented... afterwards it is just about trying this and that and lots of reading :-) Have fun! :queen: Quote
JRock Posted June 16, 2011 Author Report Posted June 16, 2011 Thanks guys. Yeah. I figgered the best way would be to dive in to it. That's why I was thinking C... cause I can learn the different easier stuff once I have a basis for it. I guess today is the day. I haven't been able to concentrate cause the weather is so nice. Today it's cloudy so I have no excuses. :rolleyes: I have a some schematics to layout, then Coding it is :thumbsup: Quote
nILS Posted June 16, 2011 Report Posted June 16, 2011 A bit more verbose: Don't buy a book. Look at other people's code (preferrably code with lots of comments) try to understand it, if sth is unclear, google or ask in the chat (real-time support, hooray), pick tiny/small ideas and try to implement them. Quote
julienvoirin Posted June 17, 2011 Report Posted June 17, 2011 (edited) Look at other people's code (preferrably code with lots of comments) try to understand it, if sth is unclear, google or ask +1 exemple mios8 section on the website is good too http://www.ucapps.de/mios8_c.html PS : arduino comes after as there is only C++ tons of codes or only pseudo C code (no .h ) Edited June 17, 2011 by julienvoirin Quote
mazatta Posted June 17, 2011 Report Posted June 17, 2011 (edited) www.reddit.com/r/learnprogramming can be a good resource. Make sure to also check out the links on the right hand side. Edit: I no can type on this netbook keyboard when lying down. Edited June 17, 2011 by mazatta Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.