Home
JAQForum Ver 20.06
Log In or Join  
Active Topics
Local Time 06:04 20 Apr 2024 Privacy Policy
Jump to

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 : MM.Devices$

Author Message
Lightrock
Newbie

Joined: 19/05/2014
Location: Australia
Posts: 26
Posted: 11:42am 02 Oct 2022
Copy link to clipboard 
Print this post

I am modifying a program for a '170 Micromite to run on a Picomite. I intended to use to MM.DEVICES$ command to confirm which device was connected. I could not get it to work so I tried entering the command from the command line but there was no response. I also tried the command on a 44 pin Micromite with no luck.

I tried other commands such as MM.INFO$(LCDPANEL), MM.VER and they worked as expected.

? MM.DEVICES$

> ? MM.DEVICES
Error : MM.DEVICES Different type already declared
> ? MM.info$(LCDPANEL)
ILI9341
>

What am I missing?

Roy
 
lizby
Guru

Joined: 17/05/2016
Location: United States
Posts: 3010
Posted: 11:44am 02 Oct 2022
Copy link to clipboard 
Print this post

You have an "S" at the end of your command; it's "?mm.device$"
PicoMite, Armmite F4, SensorKits, MMBasic Hardware, Games, etc. on fruitoftheshed
 
matherp
Guru

Joined: 11/12/2012
Location: United Kingdom
Posts: 8567
Posted: 11:45am 02 Oct 2022
Copy link to clipboard 
Print this post

  Quote  What am I missing?


Nothing, but you are adding an S  

? MM.DEVICE$
 
Lightrock
Newbie

Joined: 19/05/2014
Location: Australia
Posts: 26
Posted: 10:18pm 02 Oct 2022
Copy link to clipboard 
Print this post

Thanks everyone. Reading too much into the command description.
 
Print this page


To reply to this topic, you need to log in.

© JAQ Software 2024