Home
JAQForum Ver 20.06
Log In or Join  
Active Topics
Local Time 00:17 26 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 : CMM2 Manual Errata

     Page 3 of 6    
Author Message
Geoffg

Guru

Joined: 06/06/2011
Location: Australia
Posts: 3165
Posted: 01:08pm 11 Jun 2020
Copy link to clipboard 
Print this post

Thanks again.  I have updated the downloadable manuals.

Geoff
Geoff Graham - http://geoffg.net
 
robert.rozee
Guru

Joined: 31/12/2012
Location: New Zealand
Posts: 2286
Posted: 03:49pm 11 Jun 2020
Copy link to clipboard 
Print this post

following on from a discussion in the "CMM2: Bug reports" thread...

page 62 of the CMM2 manual explains single line if-then-else thus:

  Quote  (1) Evaluates the expression ‘expr' and performs the statement following the THEN keyword if it is true or skips to the next line if false.

(2) If there are more statements on the line (separated by colons (:) they will also be executed if true or skipped if false.

(3) The ELSE keyword is optional and if present the statement(s) following it will be executed if 'expr' resolved to be false.

[single paragraph split into three numbered sentences by me]

this explanation is the same as in the micromite mk2 manual, and presumably all others.


the first sentence should be edited to read "Evaluates the expression ‘expr' and performs the list of statements following the THEN keyword if it is true, or skips to the next line if false". the second sentence then becomes redundant and can be removed.

the portion of the third sentence reading "...statement(s) following it will be executed if 'expr' resolved to be false" is incorrect for the case of multiple statements following the ELSE, as demonstrated by this example:

For i=0 To 1
  Print "example " i+5
  If i Then Print ,, "jam on "; Else Print ,, "french ";: Print "toast"
Next i

> RUN
example  5
              french toast
example  6
              jam on toast
>

the third sentence should be replaced with something along the lines of, "The ELSE keyword is optional, but if used only ONE statement can be present between THEN and ELSE, and if 'expr' evaluates to true then only the FIRST statement following ELSE will be skipped - further statements on the line will ALWAYS be executed, no matter what 'expr' resolved to".
(i think i've got the wording right!)


cheers,
rob   :-)
Edited 2020-06-12 01:53 by robert.rozee
 
vegipete

Guru

Joined: 29/01/2013
Location: Canada
Posts: 1082
Posted: 04:46pm 11 Jun 2020
Copy link to clipboard 
Print this post

Could the user manual be fiddled with a bit so that the section describing the External I/O Connector is all on one page? Currently, it is spread across pages 8 and 9 which makes printing just that part slightly less convenient than it could be.
Visit Vegipete's *Mite Library for cool programs.
 
matherp
Guru

Joined: 11/12/2012
Location: United Kingdom
Posts: 8578
Posted: 05:07pm 11 Jun 2020
Copy link to clipboard 
Print this post

  Quote  page 62 of the CMM2 manual explains single line if-then-else thus:


Looks like a cut-and-paste from the wrong source. Should be an identical entry to the MM2
 
robert.rozee
Guru

Joined: 31/12/2012
Location: New Zealand
Posts: 2286
Posted: 05:37pm 11 Jun 2020
Copy link to clipboard 
Print this post

  matherp said  
  Quote  page 62 of the CMM2 manual explains single line if-then-else thus:


Looks like a cut-and-paste from the wrong source. Should be an identical entry to the MM2


it IS identical to the entry in the MM2 manual, which is itself also wrong.


cheers,
rob   :-)
Edited 2020-06-12 03:38 by robert.rozee
 
matherp
Guru

Joined: 11/12/2012
Location: United Kingdom
Posts: 8578
Posted: 05:55pm 11 Jun 2020
Copy link to clipboard 
Print this post

  Quote  it IS identical to the entry in the MM2 manual, which is itself also wrong.


That's interesting: I was looking at the manual for 5.4 and in that it is single statement. Just checked the release notes for the MM2 and can't see any reason for the change in documentation - definitely one for Geoff
 
vegipete

Guru

Joined: 29/01/2013
Location: Canada
Posts: 1082
Posted: 12:36am 12 Jun 2020
Copy link to clipboard 
Print this post

The STR$ function doesn't appear in the bookmark list.

It should be between SQR and STRING$
("String string" made me chuckle...)
Visit Vegipete's *Mite Library for cool programs.
 
vegipete

Guru

Joined: 29/01/2013
Location: Canada
Posts: 1082
Posted: 04:04am 12 Jun 2020
Copy link to clipboard 
Print this post

Be careful when closing the Nunchuk:

  Quote  "NUNCHUK CLOSE will lose the Nunchuk ..."

You don't want to lose your Nunchuk!
Visit Vegipete's *Mite Library for cool programs.
 
KeepIS

Guru

Joined: 13/10/2014
Location: Australia
Posts: 1356
Posted: 05:32am 12 Jun 2020
Copy link to clipboard 
Print this post

  Geoffg said  Thanks again.  I have updated the downloadable manuals.

Geoff


Hi Geoff, I just downloaded the Zip from MMBasic Zip and although the manuals are different in size, some of the errors mentioned are still in the manuals. Like the last two at the bottom of the previous page.

I also cleared my Cache just in case.
.
.
Edited 2020-06-12 15:35 by KeepIS
It's all too hard.
Mike.
 
Chopperp

Guru

Joined: 03/01/2018
Location: Australia
Posts: 1032
Posted: 03:16am 16 Jun 2020
Copy link to clipboard 
Print this post

Under TIMING P14

OPTION CLOCKTRIM should be OPTION RTC CALIBRATE ±n

Thanks TJ

Brian
ChopperP
 
Volhout
Guru

Joined: 05/03/2018
Location: Netherlands
Posts: 3519
Posted: 07:30pm 16 Jun 2020
Copy link to clipboard 
Print this post

Hi Geoff,

The audio outputs range from 0V to 3.3V. That is 3.3V peak to peak.
In the manual is stated that that equals 1.95Vrms, should be 1.15Vrms.

Just a small technical typo...
PicomiteVGA PETSCII ROBOTS
 
Chopperp

Guru

Joined: 03/01/2018
Location: Australia
Posts: 1032
Posted: 01:10pm 19 Jun 2020
Copy link to clipboard 
Print this post

The following statement appears a number of times in the Commands of the User manual, but be buggered if I can find the actual chapter.

......Refer to the chapter "Using the I/O pins" for a general
description of the Maximite's input/output capabilities.....

There is a chapter on External Input/output in the Introduction to Programming Manual.

Brian
ChopperP
 
vegipete

Guru

Joined: 29/01/2013
Location: Canada
Posts: 1082
Posted: 06:24pm 19 Jun 2020
Copy link to clipboard 
Print this post

In the description for the circle command, the line "It can be omitted or set to -1 in which case the box will not be filled." appears.

This should refer to 'circle' instead.
Visit Vegipete's *Mite Library for cool programs.
 
KeepIS

Guru

Joined: 13/10/2014
Location: Australia
Posts: 1356
Posted: 03:08am 20 Jun 2020
Copy link to clipboard 
Print this post

Page 48 Programming with the CMM2.  The colours that you can specify this way are red, green, blue, yellow, cyan, purple, brown, gray, white and black.

purple should be magenta.

As TassyJim noted in the CMM2 bug thread, purple is a throw over from the CMM1 and
has been replaced by magenta, using purple will give an error.
It's all too hard.
Mike.
 
Geoffg

Guru

Joined: 06/06/2011
Location: Australia
Posts: 3165
Posted: 10:32am 22 Jun 2020
Copy link to clipboard 
Print this post

Thanks guys.  All the above changes have found their way into the manuals.

My Colour Maximite 2 web pages are now live and you can download the latest version of the manuals and firmware from there: http://geoffg.net/maximite.html

Geoff
Geoff Graham - http://geoffg.net
 
Chopperp

Guru

Joined: 03/01/2018
Location: Australia
Posts: 1032
Posted: 10:42pm 24 Jun 2020
Copy link to clipboard 
Print this post

From OPERATORS

NOT INV     NOIT will invert the logical value on the right.

Should NOIT be NOT?

Edit

Under Special Device Support, circuit drawings refer to the Micromite. May confuse new users

Brian
Edited 2020-06-25 10:47 by Chopperp
ChopperP
 
Turbo46

Guru

Joined: 24/12/2017
Location: Australia
Posts: 1593
Posted: 01:29am 25 Jun 2020
Copy link to clipboard 
Print this post

page 36:
  Quote  While playing in this background mode the Colour Micromite 2 can edit programs,

Micromite should be Maximite.

Bill
Keep safe. Live long and prosper.
 
Andrew_G
Guru

Joined: 18/10/2016
Location: Australia
Posts: 840
Posted: 04:12am 29 Jun 2020
Copy link to clipboard 
Print this post

Hello all,
Do my aged eyes deceive me or does FONT 7 CHR$(123) represent a DegC symbol?

Possibly worth stating this in the manual, say on page 29?
Cheers,

Andrew
(PS: beaut fonts!)
 
Turbo46

Guru

Joined: 24/12/2017
Location: Australia
Posts: 1593
Posted: 04:19am 29 Jun 2020
Copy link to clipboard 
Print this post

Andrew,

I'm not sure what version of the manual you are looking at but on page 28 of the latest manual I have just under the table listing the fonts it says:

  Quote  In all fonts (including font #6) the back quote character (60
hex or 96 decimal) has been replaced with the degree symbol
(º).


Bill
Keep safe. Live long and prosper.
 
Andrew_G
Guru

Joined: 18/10/2016
Location: Australia
Posts: 840
Posted: 06:32am 29 Jun 2020
Copy link to clipboard 
Print this post

Thanks Bill,
I was looking at 5.05.02 but the page number was not the point I was trying to make.

Load up Font No7, CHR$(123) and tell me what you see.
(but in the other fonts the deg symbol is CHR$(96))

If you look at this you will see how I spotted it.

Cheers,

Andrew
Edited 2020-06-29 16:56 by Andrew_G
 
     Page 3 of 6    
Print this page
© JAQ Software 2024