Hi Guys, I wish I could take full credit for it , but the changes actually started by Dale. Here is the first message talking about it in in the New Manual posting (page 5) on the Basic Micro forum.
Now I fully admit that after that I suggested, it would sure be nice if there was not HSEROUT and HSEROUT2⦠So personally I am happy with these changed
This is just an FYI - Nathan had not put in the new format of the hserstat command in the previous postings. I emailed him awhile ago about the new format and thought I should share the information.
As HserStat was not in some of the previous manuals, Here is the information I had on itā¦
Itās amazing how many programs I have lost recently due to switching between projects. I had a BBII or the ARC-32 running on my Micromouse 'bot, then I went to work on the 'quad. Iām still not sure which board I was working with (maybe the BasicAtomPro?) but it took quite a while to get rover code working again on the ARC32 with the RoboClaw.
It might have helped if Iād had the PS2 connected; the code stalls just before I was trying to ferret out the right serout vs. hserout statement right after that in Init. Oh well!
My Micromoose should work for a rover (Lantronix project).
The 2.0 change was because we just added the new library system which will be a fairly major addition. If anyone wants to submit their own projects for the library please send them to [email protected].
The 2.0 release is when teh ENABLEHSERIAL/HSERVO compile time directives have need removed(wont break your code though if you leave them in) and the new HSERIAL syntax is available(whill break your old code, need to change the hserin,hserout and SetHserial commands).
Just a thought, but what if we had a key word (reserved word) analyzer program (like LINT?) that we could run against a BAS file? Maybe weād specify the rev and the compiler used, or it could just identify all the reserved words, and comment on which revs/compilers the commands/words could be used by.
Get the picture? I dig up an old file (or even a new one Iām working on), run BM-LINT against it, and it tells me where the āevolvingā words are, and identifies which compilers can compile the file. Or maybe which words are āwrongā for the compiler I want to use. Could even suggest the command and itās proper syntax. Seems like the new studio (only had a short time to try it out last night) does some of that. Clever!
Still fails to complete the compile, no error messages.
For some reason, I had the BBII with the BasicAtom bolted up on the 'bot, so tried a compile for that. I should probably get more 'PRO and ARC-32ās; but I like the old PIC parts!
By the way, the nanoās hserial is broken in 2.0.0.0, itās working for the most part in 2.0.0.1, but i had a bunch of problems with it, that i was unable to narrow down.
2.0.0.2 is out there if you know how to get it, i installed it, but i havent really given it a try yet.
No real rush, nor any real problem. I hate following releases too close, unless, of course, thatās my job!
I can use other commands, or drop back to a known (old) compiler.
It will be great when we can compile for any of the products with a single compiler! OK, so one wonāt get ALL the features on the smaller chips, but thatās live-able.
Funny, I donāt remember reading that post talking about the āinfinite loopā.
Thanks!
Alan KM6VV
Edit: If one exits like I had to do for above problem, that MBasic32 stays running (like 50% for the first one). āBail outā a few times, and you have SEVERAL MBasic32 programs hanging about! (Guess what that does to the operation of your other tasks!