Home
JAQForum Ver 24.01
Log In or Join  
Active Topics
Local Time 07:21 06 Aug 2026 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 : Pico Computer3 - Micopython, The Book

     Page 2 of 2    
Author Message
lizby
Guru

Joined: 17/05/2016
Location: United States
Posts: 3841
Posted: 11:03pm 22 Jul 2026
Copy link to clipboard 
Print this post

"The Book". I haven't read much, but in the Cheat Sheet,
P. 232:"ls() ls("/sd/*.py") list (wildcards fine) cls() clear screen"

it appears to me that cls() should be on a new line

Claude read the whole thing:
  Quote    │  #  │     Page     │   Type    │                                           Issue                                            │
 ├─────┼──────────────┼───────────┼────────────────────────────────────────────────────────────────────────────────────────────┤
 │ 1   │ 232          │ Layout    │ cls() in the shell cheat-sheet renders as a third column on the ls() row instead of its    │
 │     │ (Appendix A) │           │ own row. (Your catch — confirmed a typesetting bug; ls and cls are unrelated.)             │
 ├─────┼──────────────┼───────────┼────────────────────────────────────────────────────────────────────────────────────────────┤
 │ 2   │ 87–88 (ch    │ Stale     │ Heading "The four screens" (and its TOC entry) but the text says "six deals" and the table │
 │     │ 15)          │ content   │  lists six modes. Fix to "six." Corroborated by Appendix D, which correctly lists all six. │
 ├─────┼──────────────┼───────────┼────────────────────────────────────────────────────────────────────────────────────────────┤
 │ 3   │ 122 (ch 20)  │ Typo      │ "Quare" should be "Square" in the sound() waveform list.                                   │
 └─────┴──────────────┴───────────┴────────────────────────────────────────────────────────────────────────────────────────────┘


Claude summarized:
  Quote  The technical density is high and it's all correct: every arithmetic example and digit count; MicroPython-specific error strings (isn't defined, invalid syntax for integer with base 10); all six screen-mode specs and clock options; the tone() signature against the actual firmware; note frequencies and the Mario coin; the Pong/Breakout/Asteroids physics (rotation, squared-distance collision, brick which-face); the servo pulse math and I2C addresses; framebuffer byte sizes (300/150/75 KB); the sample gettime() weekday (2026-07-16 is a Thursday); the 2000 epoch; and the full reserved-pin map in Appendix D.


Note: Claude did not test against hardware except as necessary to check my bare board with hdmi screen, SD card, RTC battery, and speakers plugged in.
PicoMite, Armmite F4, SensorKits, MMBasic Hardware, Games, etc. on FOTS
 
Volhout
Guru

Joined: 05/03/2018
Location: Netherlands
Posts: 6013
Posted: 07:39pm 23 Jul 2026
Copy link to clipboard 
Print this post

Hi Peter,

Been reading in the book, and I am impressed. In birdview it looks very much like MMBasic, with a different language front.

One remark: in the manual you present examples (first) and a commant summary(table) later. But the table uses the example definition.... that could confuse. I.e. page 22 , the rable mentions tm.set, but should mention TileMap().set.

Volhout
PicomiteVGA PETSCII ROBOTS
 
     Page 2 of 2    
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 2026