Home
JAQForum Ver 20.06
Log In or Join  
Active Topics
Local Time 16:25 29 Mar 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 : Armmite F4: I2C OPEN resets DI, DO status of I2C2 SDA pin

Author Message
lizby
Guru

Joined: 17/05/2016
Location: United States
Posts: 2989
Posted: 06:32pm 08 Apr 2021
Copy link to clipboard 
Print this post

> new
> setpin 48,dout
> setpin 47,dout
> pin(48)=1
> pin(47)=1
> I2C open 100,1000
> pin(48)=0
Error : Pin | is not an output
> pin(47)=0

SDA (48) is affected but not SCL (47)

(Also, can the error message provide the pin # instead of "|"?)
PicoMite, Armmite F4, SensorKits, MMBasic Hardware, Games, etc. on fruitoftheshed
 
matherp
Guru

Joined: 11/12/2012
Location: United Kingdom
Posts: 8516
Posted: 06:41pm 08 Apr 2021
Copy link to clipboard 
Print this post

Please try the attached


ArmmiteF407.zip
Edited 2021-04-09 04:45 by matherp
 
lizby
Guru

Joined: 17/05/2016
Location: United States
Posts: 2989
Posted: 11:15pm 08 Apr 2021
Copy link to clipboard 
Print this post

Perfect. Thank you.
PicoMite, Armmite F4, SensorKits, MMBasic Hardware, Games, etc. on fruitoftheshed
 
Print this page


To reply to this topic, you need to log in.

© JAQ Software 2024