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 : Micromite eXtreme V5.4.04
Author | Message | ||||
matherp Guru Joined: 11/12/2012 Location: United KingdomPosts: 8592 |
Attached is the latest release 5.4.04 for the 100 and 144-pin parts 2017-06-11_103626_MMX5.4.04.zip and for the 64-pin parts 2017-06-11_103529_MMX645.4.04.zip This brings the MMX back in line with the Micromite and Micromite+ Many of the changes in the MM+ were already in the MMX in 5.3 but new features are: Added the FIELD$() function which can be used to extract subsections (ie, fields) from a string that has each field separated by one or more specific characters (for example, commaseparated-values (CSV) files). This function is useful in splitting apart strings generated by GPS modules and test equipment. Implemented MAX() and MIN() functions which will return the maximum or minimum value of a series of numbers. The TEMPR START command can now start temperature conversions on an unlimited number of I/O pins simultaneously (previously it was limited to one pin at a time). Added the NAME command for renaming files. When a text or number box is touched the pen down interrupt subroutine will now be called before the keypad is drawn. This gives the programmer the opportunity to redraw non GUI graphics to accommodate the keypad which is about to appear. When the touch is removed the pen up interrupt will be called after the keypad is removed so that any non GUI graphics can be redrawn. This is a key feature in allowing the mixing of non GUI graphics with GUI controls. The virtual keyboard generated when the user touches a Number Box or a Text Box can be dismissed by the program using the commands GUI NUMBERBOX CANCEL or GUI TEXTBOX CANCEL BUG fixes as per MM+ 5.4.04 This release does include a lot of "cut-and-paste" so bugs are very possible - let me know anything you find |
||||
Zonker Guru Joined: 18/08/2012 Location: United StatesPosts: 761 |
Thanks Peter for the update... Will try loading tomorrow after work..! |
||||
IvDel Newbie Joined: 02/05/2014 Location: BulgariaPosts: 4 |
Hello! @matherp, could you give me information if you're planning on publishing of the source codes for micromite Extreme on http://mmbasic.com/? I saw that the last published version is 5.3.02 but the new version are commented about on the forum. Thank you |
||||
IvDel Newbie Joined: 02/05/2014 Location: BulgariaPosts: 4 |
Hello! @matherp,Thanks, it's done! |
||||
CaptainBoing Guru Joined: 07/09/2016 Location: United KingdomPosts: 1985 |
I am having a mare today I cannot get the FIELD$ function to work. - even taking the example directly from the 5.0404 manual: > PRINT FIELD$("aaa,bbb,ccc", 2, ",") Error: Expected a number > ? mm.ver 5.0404 this is on a Mk2 and MMX any ideas? |
||||
matherp Guru Joined: 11/12/2012 Location: United KingdomPosts: 8592 |
Geoff hasn't included "FIELD$(" in 5.4.04 see this thread I thought I had on the MMX but it looks like I only put it in the Pi-cromite I'll include it in the next MMX release |
||||
CaptainBoing Guru Joined: 07/09/2016 Location: United KingdomPosts: 1985 |
thank god for that, I thought I was going mental... cheers |
||||
GoodToGo! Senior Member Joined: 23/04/2017 Location: AustraliaPosts: 188 |
Ahhh yes. Glad I'm not the only one who got burnt by the missing FIELD command... GTG! ...... Don't worry mate, it'll be GoodToGo! |
||||
CaptainBoing Guru Joined: 07/09/2016 Location: United KingdomPosts: 1985 |
LOL. When I saw it in your code example for the SPLIT, I was convinced others had it working and it was only me! Thing is, I am becoming such a doddery old prat that I had completely forgotten the reason I posted that code snippet in the first place was because FIELD$ had been omitted... you might not have a monopoly on the goldfish thing there is no hope for me. maybe it's time to sit in a chair with a rug over my knees and stare out the window |
||||
GoodToGo! Senior Member Joined: 23/04/2017 Location: AustraliaPosts: 188 |
Absolute gold! Don't forget to slowly rock back and forth! Can I get you a nice warm cup of hot chocolate for you to dribble on your blanky? For the record, I'd like to see the field AND split commands in MMbasic.... very handy. Cheers! GTG! ...... Don't worry mate, it'll be GoodToGo! |
||||
Cherokeecruiser Newbie Joined: 25/02/2015 Location: AustraliaPosts: 25 |
Hi, I am having difficulty making a count pin return a meaningful result, as it returns a decimal value less than 1. This value increases as the count increases, but never returns a whole count. Setting the pin to fin returns the correct frequency so I am assuing hardware is OK (possibly). I am wondering if anyone else has had this behaviour for this firmware (I haven't flashed it backwards yet to confirm), or am I missing the obvious (quite likely) Micromite eXtreme MMBasic Ver 5.04.04 @ 200MHz Copyright 2011-2017 Geoff Graham Copyright 2016-2017 Peter Mather > setpin 6, cin > print pin(6) 0.00961172 > setpin 6, din > print pin(6) 0 > print pin(6) 0 > setpin 6, fin > print pin(6) 2 > setpin 6, fin > print pin(6) 2 > print pin(6) 2 > print pin(6) 5 > print pin(6) 58 > print pin(6) 18 > setpin 6, cin > print pin(6) 0.0256313 > print pin(6) 0.0744908 > print pin(6) 0.113739 |
||||
TassyJim Guru Joined: 07/08/2011 Location: AustraliaPosts: 5911 |
I agree, there is a problem with counting. I looped pin 11 to pin 13 and ran the following: The result was lots of zeros Also tried pin 6 with the same lack of counting. FIN works OK Jim VK7JH MMedit MMBasic Help |
||||
matherp Guru Joined: 11/12/2012 Location: United KingdomPosts: 8592 |
Please try the following and let me know the results - no access to H/W at the moment SETPIN 13, CIN SETPIN 11, DOUT DIM INTEGER mycount DO FOR n = 1 TO 100 PIN(11) = 1 PAUSE 10 PIN(11) = 0 PAUSE 10 NEXT n mycount=PIN(13) PRINT mycount LOOP |
||||
TassyJim Guru Joined: 07/08/2011 Location: AustraliaPosts: 5911 |
Sorry Peter, still no go. Jim VK7JH MMedit MMBasic Help |
||||
HardingJohn Regular Member Joined: 28/07/2017 Location: AustraliaPosts: 78 |
Would it be possible to write some functions for micromite extreme to make use of the PIC32MZ crypto engine. AES 128 bit key encryption and decryption or similar would be very useful. I read that it is not so easy to add C functions to MMBasic for the PIC32MZ compared to the PIC32MX. Will there be sufficient grunt to do achieve this or will the overheads of MMBasic even on a 250 Mhz MZ just make it impractical?? Your thought on the this would be greatly appreciated before I consider just using a SPI crypto chip. thanks John Just know enough to get me in trouble, but not quite enough to get me out. |
||||
Micro-80 Newbie Joined: 03/03/2017 Location: Russian FederationPosts: 26 |
After setting the PIN as an analog input (SETPIN 20,AIN), any attempt to read this input (PRINT PIN(20)) causes the interpreter to be restarted. 100 pin chip used. |
||||
Print this page |