Home
JAQForum Ver 24.01
Log In or Join  
Active Topics
Local Time 02:41 30 May 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 : I2C write issue

Author Message
lizby
Guru

Joined: 17/05/2016
Location: United States
Posts: 3761
Posted: 11:20pm 28 May 2026
Copy link to clipboard 
Print this post

Why does the first I2C WRITE fail?
> option list
PicoMite MMBasic RP2350A V6.03.00RC9
OPTION SYSTEM SPI GP10,GP11,GP12
OPTION SYSTEM I2C GP4,GP5
OPTION FLASH SIZE 4194304
OPTION COLOURCODE ON
OPTION CPUSPEED (KHz) 340000
OPTION DISPLAY 48, 90
OPTION LCDPANEL ST7735, RLANDSCAPE,GP8,GP9,GP13
> I2C write &h40, 0, 1, 3
Error : Variable name
> i=3
> I2C write &h40, 0, 1, i
>


~
Edited 2026-05-29 09:21 by lizby
PicoMite, Armmite F4, SensorKits, MMBasic Hardware, Games, etc. on FOTS
 
phil99

Guru

Joined: 11/02/2018
Location: Australia
Posts: 3239
Posted: 12:37am 29 May 2026
Copy link to clipboard 
Print this post

That was fixed in recent firmware.
> I2C2 write &h40, 0, 1, 3
>
> option list
PicoMiteVGA MMBasic RP2350A Edition V6.03.00RC12
OPTION SYSTEM I2C GP14,GP15


Mozzie found the same a week or two ago.
Edited 2026-05-29 10:49 by phil99
 
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