Volhout
 Guru
 Joined: 05/03/2018 Location: NetherlandsPosts: 6104 |
| Posted: 07:52pm 05 Sep 2025 |
|
|
|
Hi Peter,
On the 6.01.00b11 for 2040 VGA:
1/
 mm.info(lcdpanel) gives a "SYNTAX ERROR". Not a big issue, but would have expected and empty string returned.
2/
If I connect a WII nunchuck (working system i2c) and do a WII CLASSIC OPEN it passes. If I connect a WII classic and WII NUNCHUCK OPEN it passes.
Why are there 2 different WII xxx OPEN commands if you cannot use them to distinguish between the 2 devices. A
Not a big issue, I will work around it, but it puzzled me. I wanted to use the WII xxx OPEN to distinguish between the 2 devices, so I would know what DEVICE(xxx ) to use. But apparently it does not work that way. When there is no WII device the WII xxx OPEN generates an error, and with ON ERROR SKIP I thought I could use this to distinguish. I will issue an I2C read now, and read the type from the device, and then open the correct device immediately.
Volhout Edited 2025-09-06 06:33 by Volhout |