![]() |
Forum Index : Microcontroller and PC projects : MMBasic/Plus/Extreme/Other Edition ??
Author | Message | ||||
sagt3k![]() Guru ![]() Joined: 01/02/2015 Location: ItalyPosts: 313 |
Hello everyone It seems to me, with great pleasure after so many years that the project MMBasic having an exponential evolution. It has become a mature product. But I wanted to have clarity on some constants MM.VER and MM.DEVICE. Now I see that there are several variants such as "kiiid" (MZ other edition) and new HWs PIC32MZ and STM32F7. I would like to implement in my software "Micromite Lab" the ability to easily identify how to have connect, If I use MMBasic with PIC32-28 or 44 pins, or Plus on 64/100pin or new MZ eXtreme edition or new "other edition" or new STM32MZ etc. Is it possible, according to you, identify the correct platform only with MM.Ver and MM.Device or Do You need other variables as "MM.PINs" etc ?? Thanks Sagt3k |
||||
Geoffg![]() Guru ![]() Joined: 06/06/2011 Location: AustraliaPosts: 3282 |
Neither define it to a specific chip. For that it would be best to get the chip's device ID: DEVID% = PEEK(WORD &HBF80F220) AND &HFFFFFFF Geoff Geoff Graham - http://geoffg.net |
||||
![]() |
![]() |
The Back Shed's forum code is written, and hosted, in Australia. | © JAQ Software 2025 |