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.
DigitalDreams Newbie Joined: 03/05/2025 Location: United KingdomPosts: 24
Posted: 01:03pm 03 Jul 2025
Copy link to clipboard
Print this post
Very little info on this command in either version of the manual. Software 6.00002. When I try to use it with a known working i2c device...
i2c check 0x68 Error : pin not set for I2C
i2c check &h68 Error : pin not set for I2C
Info missing in the manual or typo ?? Edited 2025-07-03 23:04 by DigitalDreams
matherp Guru Joined: 11/12/2012 Location: United KingdomPosts: 10240
Posted: 01:05pm 03 Jul 2025
Copy link to clipboard
Print this post
i2c2 check?
DigitalDreams Newbie Joined: 03/05/2025 Location: United KingdomPosts: 24
Posted: 01:22pm 03 Jul 2025
Copy link to clipboard
Print this post
No error but pin list returns... GP6 9 System i2c SDA GP7 10 System i2c SCL
And option list... Option system i2c gp6 gp7 slow.
Hence I expected i2c not i2c2 ?!
matherp Guru Joined: 11/12/2012 Location: United KingdomPosts: 10240
Posted: 01:26pm 03 Jul 2025
Copy link to clipboard
Print this post
System i2c uses i2c or i2c2 depending on the pins you specify. GP6, GP7 are I2C2. Normal I2C commands like CHECK require you to use the version corresponding to the pins i2c or i2c2 as both could be in use Edited 2025-07-03 23:28 by matherp
DigitalDreams Newbie Joined: 03/05/2025 Location: United KingdomPosts: 24
Posted: 01:31pm 03 Jul 2025
Copy link to clipboard
Print this post
Ah a little confusing as the Pico2 pinout refers to i2c0 and i2c1....
matherp Guru Joined: 11/12/2012 Location: United KingdomPosts: 10240
Posted: 01:44pm 03 Jul 2025
Copy link to clipboard
Print this post
MMbasic manual is your reference. The naming maintains compatibility with other MMbasic variants