Im very new to using C. However, I began doing a project, measuring paper thickness, using parallel capacitors, my aim is to display amount of pages between these plates on a LED display. Im using a arduinoUno as a microcontroller, i have the calculations and value of the components im using, however i am finding it difficult to put in C language, any possible help i can get?
Help on writing code
Page 1 of 16 Replies - 234 Views - Last Post: 10 January 2013 - 11:38 PM
Replies To: Help on writing code
#2
Re: Help on writing code
Posted 10 January 2013 - 06:26 AM
I would first learn how to program in C without taking the controller into account. Once you've picked up enough C, learn how to interface with the controller and that should complete what you need for your project. I believe that this forum has a FAQ for resources for learning C.
#3
Re: Help on writing code
Posted 10 January 2013 - 06:44 AM
What have you got so far?
If you haven't written any code, there's not much we can do to help you, but if you've got a start on it, it's a lot easier to make suggestions.
If you haven't written any code, there's not much we can do to help you, but if you've got a start on it, it's a lot easier to make suggestions.
#4
Re: Help on writing code
Posted 10 January 2013 - 10:27 AM
If you need help finding good C books i suggest you go to a local university or Library. They are usually loaded with stuff that could help you learn C programming to get yourself at an intermediate level
#5
Re: Help on writing code
Posted 10 January 2013 - 07:05 PM
You might also want to try hitting up cprogramming.com
#6
Re: Help on writing code
Posted 10 January 2013 - 09:01 PM
Well, you need to say the problem aloud...like this.
1.Measuring paper thickness...hmmm I'm sure it will be a decimal value...so I better take it as a float
2.Well, displaying the number of pages...so that needs to be a counter variable and hence it should be an int
so on...
So, when you do this, you tend to logically form meaningful words in your mind...and then all you need to do then is convert it to the required language code.
Regards,
Raghav
1.Measuring paper thickness...hmmm I'm sure it will be a decimal value...so I better take it as a float
2.Well, displaying the number of pages...so that needs to be a counter variable and hence it should be an int
so on...
So, when you do this, you tend to logically form meaningful words in your mind...and then all you need to do then is convert it to the required language code.
Regards,
Raghav
#7
Re: Help on writing code
Posted 10 January 2013 - 11:38 PM
Oh, and make sure you have that pseudocode thought up before you try the actual code. Trust me: if you don't, you will most likely end up wishing you did...
Page 1 of 1
|
|

New Topic/Question
Reply



MultiQuote





|