Home
JAQForum Ver 24.01
Log In or Join  
Active Topics
Local Time 09:00 01 Aug 2025 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 : CMM2 - <@> and <"> swapped, DISPLAY 48, 102 and code line numbers

Author Message
Andrew_G
Guru

Joined: 18/10/2016
Location: Australia
Posts: 871
Posted: 03:40am 30 Aug 2020
Copy link to clipboard 
Print this post

Hi everyone,
I'm sorry if these questions are repeats from others but I have searched for answers (and even RTFM):
1) Is there a simple solution to the interchange of <@> and <"> key responses on my CMM2 keyboard, an "HP Keyboard 100". It is a plain bog standard one, new from Officeworks. I've got the CMM2 keyboard set to UK.
OK I can interchange my brain but I do run another (compliant) keyboard on my PC so I DO get confused (annoyance level 2 out of 10).
2) In the OPTION LIST there is a line "CURRENT DISPLAY 48, 102" what is DISPLAY in this context and what are the two numbers? (I have the default mode at 9 - for other modes the values change).
3) I prefer to use MMEdit to crunch and remove blank line when downloading to the CMM2. When I get an error of course it doesn't correspond to any line numbers I can recognise.
Is it possible to have an option in the CMM2 editor that turns ON its line numbers (or shows the faulty code). One could then compare the code with the MMEdit version and track down the mistake.
(Yes I have turned off the MMEdit crunch etc but this particular code (it graphs temperatures from 10 sensors via HC-12s) runs 24/7 and the error (divide by zero) may not occur again, or for some time. Prior to this event it had been running for several days).
I'm running version 5.05.05b21.

Cheers,

Andrew
 
TassyJim

Guru

Joined: 07/08/2011
Location: Australia
Posts: 6283
Posted: 03:56am 30 Aug 2020
Copy link to clipboard 
Print this post

1) set the keyboard to US

2) Display is the number of lines and number of characters to a line.
It will vary with mode and default font size.

3) If you EDIT on the CMM2 after an error, it will have the relevant line number matching the error message.
MMEdit used to keep a translation table for before/after crunch but that became unworkable with the new systems so I have dropped it.

Jim
VK7JH
MMedit
 
Andrew_G
Guru

Joined: 18/10/2016
Location: Australia
Posts: 871
Posted: 04:33am 30 Aug 2020
Copy link to clipboard 
Print this post

Jim,
Thanks you are a marvel!
1) Fixed - I hope I don't have to give up on "colour" etc.

2) Thanks - it is clear once pointed out (is it in a manual or something?).

3) Thanks. The CMM2 VGA monitor and MMEdit chat window give the line number of the error (and that was the basis of my question) BUT, and here is the answer, when you EDIT on the CMM2 the cursor is positioned at the faulty line - THAT solves my problem.

Many thanks again Jim.

Andrew
 
bigmik

Guru

Joined: 20/06/2011
Location: Australia
Posts: 2950
Posted: 07:44am 30 Aug 2020
Copy link to clipboard 
Print this post

Hi Andrew, All,

I have just (literally 5 minutes ago found out why) finished building 2 more CMM2 and I used b22 firmware and was testing them when BOTH came up with the swap " and @ and an OPTION LIST Always showed keyboard UK and I could not change it.. Spent 30 or 40 minutes flashing this and that and then it dawned on me..

I had Jim's resistor test PCB plugged in at power-up and the CMM2 were being defaulted to UK keyboard..

I know that could happen but fell for it.

Small world..


Kind Regards

Mick
Mick's uMite Stuff can be found >>> HERE (Kindly hosted by Dontronics) <<<
 
TassyJim

Guru

Joined: 07/08/2011
Location: Australia
Posts: 6283
Posted: 08:08am 30 Aug 2020
Copy link to clipboard 
Print this post

  bigmik said  H
I had Jim's resistor test PCB plugged in at power-up and the CMM2 were being defaulted to UK keyboard..

Mick

That's enough to drive a man to drink!

Sorry
Jim
VK7JH
MMedit
 
paceman
Guru

Joined: 07/10/2011
Location: Australia
Posts: 1329
Posted: 10:42am 30 Aug 2020
Copy link to clipboard 
Print this post

Mick,
I'll bet you're one of many, certainly me too. Until Jim just said that I didn't know either. I just put a sticker on each of the keys to remind me, thank heavens Andrew asked the question.
Greg
 
vegipete

Guru

Joined: 29/01/2013
Location: Canada
Posts: 1132
Posted: 08:54pm 30 Aug 2020
Copy link to clipboard 
Print this post

  Andrew_G said  2) In the OPTION LIST there is a line "CURRENT DISPLAY 48, 102" what is DISPLAY in this context and what are the two numbers? (I have the default mode at 9 - for other modes the values change)

The OPTION DISPLAY numbers seem to be reversed from what you would expect. Screen resolution is given as X by Y yet text resolution is given as Y,X.
Visit Vegipete's *Mite Library for cool programs.
 
matherp
Guru

Joined: 11/12/2012
Location: United Kingdom
Posts: 10310
Posted: 09:36pm 30 Aug 2020
Copy link to clipboard 
Print this post

Option Display is same as MM+. Don't know why its that way - just is.
 
Print this page


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

The Back Shed's forum code is written, and hosted, in Australia.
© JAQ Software 2025