-
Notifications
You must be signed in to change notification settings - Fork 437
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How can i connect the two units by I2C? #331
Comments
joystick2.begin (&Wire,JOYSTICK2_ADDR, 2, 1) ;//portA 2,1 //portB 9,8 //portC 17,18 change to |
Can't see your picture |
I commented on these lines of code.the power of control.uart can get the value,but why the display can't |
😂Is there a possibility that M5CoreS3 can control the screen? Of course it cannot be used as you commented. |
You are using I2C communication, why did UART suddenly appear? |
oh,sorry,i use the Serial Port Debugging Assistant to see the result |
M5CoreS3 internally calls M5Unified, M5, and a series of initialization operations are performed when begin. A certain set of I2C may be enabled by default, causing conflicts. Therefore, you cannot use Wire and Wire1 at the same time after enabling M5.begin. |
i mean when i didn't comment the code,it's value didn't change as i control the joysticks |
也许你可以尝试 |
when you change another,the other doesn't work,it's so wired |
那是不是如果不使用M5CoreS3这个库,两个模块都可以用 |
可能是调用了这个显示屏的缘故,我注释了显示屏供电后串口就可以正确读取数据了 |
主要想问问是传输数据有问题吗,具体该咋解决? |
Describe the bug
only one can work,
To reproduce
7db1b98a1f71f03cb2556a889219c1ca.mp4
Expected behavior
Screenshots
No response
Environment
Additional context
No response
Issue checklist
The text was updated successfully, but these errors were encountered: