Notice. New forum software under development. It's going to miss a few functions and look a bit ugly for a while, but I'm working on it full time now as the old forum was too unstable. Couple days, all good. If you notice any issues, please contact me.
|
Forum Index : Microcontroller and PC projects : MMBasic Quick Reference
Page 1 of 2 | |||||
Author | Message | ||||
Geoffg Guru Joined: 06/06/2011 Location: AustraliaPosts: 3165 |
Some time ago a TBS forum member called crackerjack produced a great quick reference for MMBasic. The last update was for MMBasic V3.2 and since then I have really missed having an up to date version - so I thought that I would have a go at creating my own. If you are interested, this is it: 2017-06-02_153917_Micromite_Quick_Reference.pdf At this time it just covers the standard 28 and 44-pin Micromites but in the future I might expand it to include the Micromite Plus - that however will require a much smaller font to fit everything in. Geoff Geoff Graham - http://geoffg.net |
||||
MicroBlocks Guru Joined: 12/05/2012 Location: ThailandPosts: 2209 |
Nice overview. This will be very handy to use. With this overview it shows how much the serial communication is similar. Would this not offer an opportunity to aggregate the similar functionalities in just a few commands/functions. Like this: [code] OPEN "COM1:...." AS #fnbr OPEN "I2C1:...." AS #fnbr OPEN "1WIRE:..." AS #fnbr OPEN "SPI1:...." AS #fnbr PRINT #fnbr INPUT$(#fnbr,...) etc... CLOSE #fnbr [/code] It will free up keywords and it might be possible to share code between the different devices. It also allows to add other devices in the future like USB, Displays, keyboards, WiFi modules etc without the need for numerous specific keywords. Microblocks. Build with logic. |
||||
piclover Senior Member Joined: 14/06/2015 Location: FrancePosts: 134 |
Most useful (it saves from opening the big PDF of the manual and browsing several pages to find the syntax of a rarely used function). Thank you Geoff ! |
||||
PicFan Senior Member Joined: 18/03/2014 Location: AustriaPosts: 133 |
Helle Geoff ! I know that of AIM 65 (6502 CPU), very good, thank you. Wolfgang |
||||
BobD Guru Joined: 07/12/2011 Location: AustraliaPosts: 935 |
It's very good and I like it. It can be used two ways. If you know what you're doing it's a great QR and if you don't then it can be used as a pointer to the full manual. I found a small error. The unfortunate part about this one is I don't know which one is wrong without reading the full doc and it's too early in the morning for that. and in the Variables there is a spelling error which wouldn't rate an effort but if you're in there correcting .. |
||||
GoodToGo! Senior Member Joined: 23/04/2017 Location: AustraliaPosts: 188 |
Now that's going to come in handy! I hope you consider a MM+ version, maybe only do a page with the different commands? GTG! ...... Don't worry mate, it'll be GoodToGo! |
||||
JohnS Guru Joined: 18/11/2011 Location: United KingdomPosts: 3663 |
x << y is shift left (obviously), aka up (same as in C) The lowest bit (bit 0, with value 1) is defined to be at the far right. John |
||||
OA47 Guru Joined: 11/04/2012 Location: AustraliaPosts: 911 |
Thanks Geoff, I have been missing this reference. Graeme |
||||
Grogster Admin Group Joined: 31/12/2012 Location: New ZealandPosts: 9066 |
Nice one. Smoke makes things work. When the smoke gets out, it stops! |
||||
Geoffg Guru Joined: 06/06/2011 Location: AustraliaPosts: 3165 |
I have had another go at this. This version is formatted better and includes the Micromite Plus. 2017-06-03_082009_Micromite_Quick_Reference.pdf If you print it out it is intended to be folded Z-fold fashion with the title at the top of the folded stack. This format also works well if you want to display it on your tablet/PC, etc. Geoff Geoff Graham - http://geoffg.net |
||||
paceman Guru Joined: 07/10/2011 Location: AustraliaPosts: 1328 |
Yes, thanks from me too Geoff, this will get dog-eared pretty quickly and I've made the Z-fold already! Greg |
||||
WhiteWizzard Guru Joined: 05/04/2013 Location: United KingdomPosts: 2794 |
This is BRILLIANT Now I have an excuse to buy that colour laser printer If you don't mind, I would like to print this out and enclose to 'newbie' customers if thats ok. WW For everything Micromite visit micromite.org Direct Email: whitewizzard@micromite.o |
||||
Geoffg Guru Joined: 06/06/2011 Location: AustraliaPosts: 3165 |
Go for it WW. Geoff Graham - http://geoffg.net |
||||
Cremo Newbie Joined: 21/07/2015 Location: ItalyPosts: 34 |
Geoff thank you a lot. Pietro |
||||
palcal Guru Joined: 12/10/2011 Location: AustraliaPosts: 1804 |
Laminated and on the wall above my monitor. This is great, will save a lot of time. Paul. "It is better to be ignorant and ask a stupid question than to be plain Stupid and not ask at all" |
||||
bigmik Guru Joined: 20/06/2011 Location: AustraliaPosts: 2870 |
@Geoff, I agree Whole heartedly with that sentiment.. It is really professional looking.. Thanks Geoff and of course crackerjack... WW, You don't need a colour laser.. An Ink-jet and then laminated gives a brilliant result. The laminating makes dull plain paper look like a glossy photo. Kind Regards, Mick Mick's uMite Stuff can be found >>> HERE (Kindly hosted by Dontronics) <<< |
||||
Geoffg Guru Joined: 06/06/2011 Location: AustraliaPosts: 3165 |
I keep finding small things to tweak but I think that I am finally there now... this is the last version (promise). 2017-06-05_074829_Micromite_Quick_Reference.pdf There are only small changes from the previous version (mostly formatting) so, if you printed the last version you do not need to reprint this. I am now including this in the Micromite firmware distribution zip file. Geoff Geoff Graham - http://geoffg.net |
||||
CaptainBoing Guru Joined: 07/09/2016 Location: United KingdomPosts: 1985 |
Sorry Geoff. just discovered OPTION CPU [speed] is missing for MMX |
||||
Geoffg Guru Joined: 06/06/2011 Location: AustraliaPosts: 3165 |
OK, you have got me... what does OPTION CPU speed do? If you mean CPU speed then that is on the first page under Program Management. Geoff Geoff Graham - http://geoffg.net |
||||
WhiteWizzard Guru Joined: 05/04/2013 Location: United KingdomPosts: 2794 |
OPTION CPU 200/252 252 sets MMBASIC up for using some additional MMX features that are available only at this higher rate. For example higher rate WAV files. WW For everything Micromite visit micromite.org Direct Email: whitewizzard@micromite.o |
||||
Page 1 of 2 |
Print this page |