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 : New Version of MMBasic. Version 3.2C
Author | Message | ||||
Geoffg Guru Joined: 06/06/2011 Location: AustraliaPosts: 3194 |
A new version of MMBasic (ver 3.2C) is available for download from http://geoffg.net/maximite.html#Downloads This is a minor update that fixes a few bugs and adds two small features: - Added support for control keys in the EDIT command and the command line editor. - Added support for I/O pin 7 on the DuinoMite. The Change Log (included in the update download) details the changes. Geoff Geoff Graham - http://geoffg.net |
||||
djuqa Guru Joined: 23/11/2011 Location: AustraliaPosts: 447 |
Thanks . MMbasic Just keeps getting BETTER. VK4MU MicroController Units |
||||
donmck Guru Joined: 09/06/2011 Location: AustraliaPosts: 1313 |
Geoff just told me that the latest version (3.2C) MMBasic now supports 15 pins on the DuinoMite, and not the 12 that I had advertised, so I have updated all of my product pages to suit. Don... https://www.dontronics.com |
||||
DuinoMiteMegaAn Senior Member Joined: 17/11/2011 Location: AustraliaPosts: 231 |
GeoffG - I made an easy to use Open Office (Free) spreadsheet for the MMBasic DuinoMiteMega GPIO for MMBasic 3.2C If you see any obvious mistakes - let me know. 2012-06-10_145401_MaxiMite_DuinoMiteMega_Input_Output_v3_2_C _R1.zip BTW ... Can the comports (1-4) be used for other GPIO functions? eg input/output/interrupts |
||||
Geoffg Guru Joined: 06/06/2011 Location: AustraliaPosts: 3194 |
Unfortunatly I cannot open this file. Can you save it as a Microsoft Excel (.xls) file? Yes, except for COM3:, details are in the DuinoMite ReadMe file included in the update. Geoff Geoff Graham - http://geoffg.net |
||||
BobD Guru Joined: 07/12/2011 Location: AustraliaPosts: 935 |
MS Orifice 2010 handles it OK. I'll see if I can save it as an .xls and put it up here. If not I'll post it as an image. |
||||
BobD Guru Joined: 07/12/2011 Location: AustraliaPosts: 935 |
Here is the image file 2012-06-10_222702_MaxiMite_DuinoMiteMega_Input_Output_v3_2_C _R1.pdf and here is the .xls 2012-06-10_222733_MaxiMite_DuinoMiteMega_Input_Output_v3_2_C _R1.zip There was a complaint from excel about loss of features when saved to a compatibility format but I couldn't see the difference. |
||||
ajkw Senior Member Joined: 29/06/2011 Location: AustraliaPosts: 290 |
Hi, Can somebody else with version 3.2C please test the following print val("&B101") or print val("&HFF") My MM with 3.2C throws an exception with these and reboots with the "An internal error.. " message. Thanks Anthony. |
||||
BobDevries Senior Member Joined: 08/06/2011 Location: AustraliaPosts: 266 |
Umm, without trying to be smart.... Why would you use that? A simple: PRINT &HFF PRINT &B101 would suffice. Regards, Bob Devries Dalby, QLD, Australia |
||||
ajkw Senior Member Joined: 29/06/2011 Location: AustraliaPosts: 290 |
Bob, Because I use the VAL function in a line of code which is too involved to use for practical debug purposes. This particular line of code worked fine in all previous versions but is now throwing the error in 3.2C I posted PRINT VAL("&HFF") as quick way of checking for the error that can be done from the command line. So, did you humour the seemingly strange ways of another user and try it?? Rgd's Anthony. |
||||
Geoffg Guru Joined: 06/06/2011 Location: AustraliaPosts: 3194 |
That is a neat spreadsheet (and colourful). The only changes that I would suggest are: - pin 7 supports counting, frequency, period, etc. - pins 11 & 12 support digital out on the Mini - pins 7 & 11 to 18 support interrupts Geoff Geoff Graham - http://geoffg.net |
||||
Gizmo Admin Group Joined: 05/06/2004 Location: AustraliaPosts: 5078 |
I can confirm that bug Anthony. Print val("&HFF") crashes the system. Print val("1234") works fine. Print &HFF works fine. Glenn The best time to plant a tree was twenty years ago, the second best time is right now. JAQ |
||||
ajkw Senior Member Joined: 29/06/2011 Location: AustraliaPosts: 290 |
Glenn, Thanks for that, I guess it is over to Geoff to have a look. Rgd's, Anthony. |
||||
Geoffg Guru Joined: 06/06/2011 Location: AustraliaPosts: 3194 |
This is getting to be a bad habit... every time I make a new release a small bug appears. At least this one was not my fault. Microchip have managed to break the strtol() function in C32 V2.1a (which I recently upgraded to) and that caused the bug. I have fixed it and loaded the new version up onto my site. It has the same version number (3.2C) but the date of the hex file is 11th June. So, if you have already downloaded 3.2C could you please re download and re flash. Sorry for the inconvenience. Geoff Geoff Graham - http://geoffg.net |
||||
DuinoMiteMegaAn Senior Member Joined: 17/11/2011 Location: AustraliaPosts: 231 |
The only changes that I would suggest are:
- pin 7 supports counting, frequency, period, etc. - pins 11 & 12 support digital out on the Mini - pins 7 & 11 to 18 support interrupts Geoff By inspecting the GPIO spreadsheet again ... if a user is using I2C, then the only GPIO pin that could be used for counting, frequency and period would ONLY be pin 7 (software#) on the DuinoMiteMega? GeoffG .... Is counting, frequency and period a function of hardware or software ? |
||||
Geoffg Guru Joined: 06/06/2011 Location: AustraliaPosts: 3194 |
It is hardware dependent. The PIC32 i/o pin must support an external interrupt. Geoff Graham - http://geoffg.net |
||||
Print this page |