View previous topic :: View next topic |
Author |
Message |
vbairbus
Joined: 27 Oct 2013 Posts: 5
|
Posted: Sun Oct 11, 2015 4:41 pm Post subject: tell me some books for beginner to learn BASCOM-AVR. |
|
|
please tell me some books for beginner to learn BASCOM-AVR.thanks.
(BASCOM-AVR version : Demo , Latest : 2.0.7.8 ) |
|
Back to top |
|
|
Plons
Joined: 24 May 2005 Posts: 435 Location: Hilversum - The Netherlands
|
|
Back to top |
|
|
Paulvk
Joined: 28 Jul 2006 Posts: 1257 Location: SYDNEY
|
Posted: Sun Oct 11, 2015 11:37 pm Post subject: |
|
|
When I started with Bascom I asked the same question
But I found that just using it
reading the help then looking at and using parts of the samples was best for me
Then posting all code here so that those with experience could show how to make it more efficient
The one thing though that caused me to improve was a clock project
this only had a mega8 so only 8K of space to fit the program
I was forced to go over my work many times to make my code as small as possible
The next most important thing is make your code modular
Break it up into its parts
I write using the $Include function that takes a file from disk and inserts the code into your project.
Use the project mode of bascom.
So for example you write code that reads the temperature from a sensor
you make it into a sub or function then save it to a file on disk
you then have it to use for any project you write
This way you build up building blocks that you know work and can just be put into your next project.
Regards Paul |
|
Back to top |
|
|
W4GNS
Joined: 03 Dec 2009 Posts: 11 Location: (Virginia)
|
|
Back to top |
|
|
albertsm
Joined: 09 Apr 2004 Posts: 5913 Location: Holland
|
|
Back to top |
|
|
vbairbus
Joined: 27 Oct 2013 Posts: 5
|
Posted: Wed Oct 14, 2015 3:29 pm Post subject: |
|
|
thank you very much! |
|
Back to top |
|
|
|