BasicMicro - Forums

www.basicmicro.com
It is currently Sun Sep 05, 2010 11:45 am

All times are UTC - 8 hours [ DST ]




Post new topic Reply to topic  [ 80 posts ]  Go to page Previous  1, 2, 3, 4, 5, 6  Next
Author Message
 Post subject: Re: New Manual
PostPosted: Fri Jun 11, 2010 5:26 pm 
Offline
Master

Joined: Mon Jul 17, 2000 10:00 am
Posts: 151
Here is WIP V14. There was some cleanup and add a few more commands. IF...THEN...ELSEIF...ELSE...ENDIF and FOR...NEXT.

Next week I think this will actually replace the existing manual. Probably after I get SERIN / SEROUT done.


Attachments:
All_Atom_wipV14.pdf [807.44 KiB]
Downloaded 52 times

_________________
Basic Stamp - On Steroids!
DC Motor Speed Control - Robo Claw!
Servo Controller - ARC32!
Top
 Profile E-mail  
 
 Post subject: Re: New Manual
PostPosted: Sat Jul 10, 2010 8:50 pm 
Offline
Master

Joined: Mon Jul 17, 2000 10:00 am
Posts: 151
WIP v15. Math section complete. Modifier section started.


Attachments:
All_Atom_wipV15.pdf [834.72 KiB]
Downloaded 42 times

_________________
Basic Stamp - On Steroids!
DC Motor Speed Control - Robo Claw!
Servo Controller - ARC32!
Top
 Profile E-mail  
 
 Post subject: Re: New Manual
PostPosted: Fri Jul 23, 2010 8:03 pm 
Offline
Master

Joined: Mon Jul 17, 2000 10:00 am
Posts: 151
V17 is now available.

Changes:
1. Alphabeticaly sorted most of the commands.
2. LCD commands.
3. Freqout.
4. Modifiers complete.

This has slowed down to a snails crawl. About 1 to maybe 1/2 command a day. The old manual is too far behind to really use anything from it. So all the latest work is from scratch. I think its time to remove all referrence and links to the old manual and update them with this one.


Attachments:
All_Atom_wipV17.pdf [866.13 KiB]
Downloaded 82 times

_________________
Basic Stamp - On Steroids!
DC Motor Speed Control - Robo Claw!
Servo Controller - ARC32!
Top
 Profile E-mail  
 
 Post subject: Re: New Manual
PostPosted: Sat Jul 24, 2010 8:49 pm 
Offline
Master

Joined: Mon Jul 17, 2000 10:00 am
Posts: 151
Today I greatly expanded the IF..THEN else to be more descriptive. Few more commands were added. Going to wait until SERIN / SEROUT are included before the next release. Thinking some time middle of next week since these 2 commands will probably take about 2 to 3 days to explain well.

Also the reason I'm posting the works in progress is I want anyone reading it to let me know if there is something that doesnt make sense or needs to be explained better. The point of this manual isn't just syntax reference but a teaching aid as well.

_________________
Basic Stamp - On Steroids!
DC Motor Speed Control - Robo Claw!
Servo Controller - ARC32!


Top
 Profile E-mail  
 
 Post subject: Re: New Manual
PostPosted: Mon Jul 26, 2010 12:45 pm 
Offline
Guru

Joined: Tue Jun 22, 2010 1:15 pm
Posts: 51
Sometimes it's hard to do both in a single document.

Alan KM6VV

Basic Micro wrote:
Also the reason I'm posting the works in progress is I want anyone reading it to let me know if there is something that doesnt make sense or needs to be explained better. The point of this manual isn't just syntax reference but a teaching aid as well.


Top
 Profile E-mail  
 
 Post subject: Re: New Manual
PostPosted: Wed Jul 28, 2010 1:37 pm 
Offline
Master

Joined: Mon Jul 17, 2000 10:00 am
Posts: 151
Something in between syntax and teaching. Think bs2 manual. Sometimes I just drop a command in there and really don't explain much about it. IF..THEN as an example. I went back and re-wrote that to make more sense. Technically I barely understood it at first ;-)

_________________
Basic Stamp - On Steroids!
DC Motor Speed Control - Robo Claw!
Servo Controller - ARC32!


Top
 Profile E-mail  
 
 Post subject: Re: New Manual
PostPosted: Wed Jul 28, 2010 3:22 pm 
Offline
Guru

Joined: Tue Jun 22, 2010 1:15 pm
Posts: 51
Sometimes you can write a "master program", and continuously refer to various lines in it for your manual examples. In some tutorial manuals, the user actually "writes" a program, adding bits to it as things are learned.

This program could also be used for "testing" various BasicAtom releases. It would demonstrate all the various commands.

Or maybe a suite of tests (I'll bet you have). The compiler would be expected to compile all the files of the suite without errors, and generate (where applicable) known values that can be checked. But I'll bet you knew all that...

An abstract of the suite could be a useful reference for a manual.

Just thoughts.

Alan KM6VV


Top
 Profile E-mail  
 
 Post subject: Re: New Manual
PostPosted: Sun Aug 08, 2010 7:52 am 
Offline
Master

Joined: Tue Nov 21, 2006 9:34 am
Posts: 291
Basic Micro wrote:
Going to wait until SERIN / SEROUT are included before the next release. Thinking some time middle of next week since these 2 commands will probably take about 2 to 3 days to explain well.

How is this coming along? These commands as well as the HSERIAL and HSERVO commands including the new Arc32 commands are the ones I have been hoping to see in the manual as these are commands that differentiate you from other things like the stamp.

Basic Micro wrote:
Also the reason I'm posting the works in progress is I want anyone reading it to let me know if there is something that doesn't make sense or needs to be explained better. The point of this manual isn't just syntax reference but a teaching aid as well.

I totally appreciate that the WIP is posted and as you know I try to review as you go along. I have been waiting for some of the above mentioned commands to be done before I do another pass.

It would be great if you could soon get it to a point that you feel comfortable in installing the new document with each release of the IDE. But to do so, you probably need to at least have rudimentary coverage of all of the commands as well as module pin outs and interrupts.. . You might consider adding in pages for each of the remaining commands and the like and maybe do a cut and paste from the old document, with something like red text at the top that says that this data may be out of date and will be updated...

As has been mentioned, it is a hard task to get one document that works well as a reference as well as teach the basics. I totally understand and appreciate for example that you have sorted the commands alphabetically, for me that helps. But for teaching that can be a hindrance. For example you have the Exception command to handle the case where you need to get out of a gosub without returning to where it was called from. That is great, but unless you know about it, you may not know to look for it. Hopefully you will have an index(bookmarks), plus maybe do something like BS and have summary pages that show all of the commands in alphabetical order as well as summary pages that show all of the commands by a logical breakdown...

Again I am glad to see that this is being done.

Kurt


Top
 Profile  
 
 Post subject: Re: New Manual
PostPosted: Mon Aug 09, 2010 4:54 pm 
Offline
Master

Joined: Mon Jul 17, 2000 10:00 am
Posts: 151
I'm committed to this 100%. It was just more work than I thought. So progress slow. But I do agree don't waste too much time until I mark it beta.

Had some new products we are wrapping up for the ARC32 and the robots. So middle of this week will be back on manual. My first stop is TOC and Index. Once thats done we will add it to IDE.

_________________
Basic Stamp - On Steroids!
DC Motor Speed Control - Robo Claw!
Servo Controller - ARC32!


Top
 Profile E-mail  
 
 Post subject: Re: New Manual
PostPosted: Thu Aug 12, 2010 6:19 am 
Offline
Master

Joined: Tue Nov 21, 2006 9:34 am
Posts: 291
Hi Dale,

I was taking another quick pass through V17 of the manual. In particular since you mentioned modifiers were done I thought I would take a read through.

Unless I am missing it, I think a major piece of the modifier functionality is not discussed in this section. That is the part where you can specify the min and max size for the modifiers. From the old document you have:
Quote:
Syntax
modifier{#max} argument{\#min}
#max: optional maximum number of digits to pass
#min: optional minimum number of digits to pass
Examples - Input
If the input is 56 (in ASCII characters)
hserin [dec a]
assigns the numeric value 56 (binary 00111000) to the variable “a”.
If the input is 3456 (in ASCII characters)
hserin [dec2 a]
takes the two least significant digits (56) of the input and assigns the
numeric value 56 (binary 00111000) to the variable “a”.
Examples - Output
If the numeric value of variable “a” is 1234
hserout [dec a] ; output is 1234 in ASCII
hserout [dec2 a] ; output is 34 in ASCII


I often use the size field for output to things like LCDS or sometimes just for debug outputs, when I want a bunch of outputs to line up.

One thing I have found that was not covered in the old PDF manual is that the when you are doing something like: sdec5 MyVar\5
The size fields do not include whether the sign indicator is output as part of it's size. That is if MyVar has a value of -1, then the output would be -00001, so for example in my remote control code where I want things to line up, I have to special case and test to to see if the number is negative or not and when positive output a leading blank...

I hope that makes sense.

Kurt


Top
 Profile  
 
 Post subject: Re: New Manual
PostPosted: Sat Aug 14, 2010 9:43 pm 
Offline
Master

Joined: Mon Jul 17, 2000 10:00 am
Posts: 151
I'll have Nathan take a look at it and I'll get it added. Here is the wip18 with a TOC. Its not done and the new color cover was just messing around. I started place holders for all items missing. I have a few more place holders to add. After which I will get the base commands finished first before replacing the old manual.


Attachments:
All_Atom_wipV18.pdf [1020.36 KiB]
Downloaded 18 times

_________________
Basic Stamp - On Steroids!
DC Motor Speed Control - Robo Claw!
Servo Controller - ARC32!
Top
 Profile E-mail  
 
 Post subject: Re: New Manual
PostPosted: Sat Aug 14, 2010 11:57 pm 
Offline
Master

Joined: Sun Aug 17, 2008 5:26 pm
Posts: 692
Location: CA bay Area
You say the "discussion list" is at basicmicro.com.
Isn't that the forum? Shouldn't that be http:\\forum.basicmicro.net?
kenjj

_________________
kenjj
http://blog.basicmicro.com/
http://kjennejohn.wordpress.com/


Top
 Profile E-mail  
 
 Post subject: Re: New Manual
PostPosted: Sun Aug 15, 2010 9:51 am 
Offline
Site Admin

Joined: Thu Mar 01, 2001 11:00 am
Posts: 321
Location: Temecula, CA
forums.basicmicro.com actually. The .net is just a redirect I believe.

Also, Kurt is correct. Al the DEC,HEX and BIN modifiers(used for input or output) support a maximum character number. So DEC1,DEC2,DEC3,DEC4 etc...

The maximum characters number ranges are:

DEC1 to DEC9
HEX1 to HEX8
BIN1 to BIN32

The signed and indicated varients also support the maximum characters number as well.

When used in OUTPUT commands like SEROUT these modifiers*including the signed and indicated varients) also support minimum characters to send. The format is:

DEC value\# where number is the same range as the maximum characters number range.

You can also use them at the same time. For example if you want to always output 4 digits of a number, no more and no less you would use this modifier:

DEC4 value\4

Note that the sign and indicator are not counted toward the maximum or minimum characters. For example if you output a max and min of 4 characters with negative value you will get the "-" plus 4 digits.

_________________
Nathan Scherdin
Visit BasicMicro

Datasheets:
Servo Controller - ARC32
Microcontroller - AtomPro
Motor Controller - Robo Claw
RC Lighting - Cylon LED


Top
 Profile E-mail  
 
 Post subject: Re: New Manual
PostPosted: Sun Aug 15, 2010 6:02 pm 
Offline
Master

Joined: Mon Jul 17, 2000 10:00 am
Posts: 151
Per Kurt suggestion I went ahead and added all the place holders I could think of including missing commands. I cleaned up the TOC and added a beta front cover. By beta not sure I'm settled on the image I choose so I didnt buy the rights to it yet.

At any rate, go through the manual and see if there is any sections I'm missing in regards to place holders. This seems to be the best way to know whats left and for users to know where we are really at.

I'll be waiting on comments ;-)


Attachments:
All_Atom_wipV20.pdf [937.84 KiB]
Downloaded 39 times

_________________
Basic Stamp - On Steroids!
DC Motor Speed Control - Robo Claw!
Servo Controller - ARC32!
Top
 Profile E-mail  
 
 Post subject: Re: New Manual
PostPosted: Mon Aug 16, 2010 10:12 pm 
Offline
Master

Joined: Mon Jul 17, 2000 10:00 am
Posts: 151
This is just the cover. But I think I settled on an updated look instead of something totally new.


Attachments:
Cover.pdf [85.94 KiB]
Downloaded 28 times

_________________
Basic Stamp - On Steroids!
DC Motor Speed Control - Robo Claw!
Servo Controller - ARC32!
Top
 Profile E-mail  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 80 posts ]  Go to page Previous  1, 2, 3, 4, 5, 6  Next

All times are UTC - 8 hours [ DST ]


Who is online

Users browsing this forum: No registered users and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group

phpBB SEO