-
Notifications
You must be signed in to change notification settings - Fork 983
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
Example does not compile, core 2.6.0 #2077
Comments
Hi @brightproject For the BlackPill: Arduino_Core_STM32/variants/STM32F4xx/F401CC(F-U-Y)_F401C(B-D-E)(U-Y)/variant_BLACKPILL_F401Cx.h Lines 128 to 144 in 96d8c93
So When you instantiate manually a For Ref: Lines 122 to 140 in 96d8c93
Please read carefully the Wiki:
|
Yes, you are right, until recently I did not quite understand
It turns out that I cannot use the |
You can, but in all your example there is no I2C code using Wire library. Arduino_Core_STM32/variants/STM32F4xx/F401CC(F-U-Y)_F401C(B-D-E)(U-Y)/variant_BLACKPILL_F401Cx.h Lines 111 to 117 in 96d8c93
So simply use |
Yes, that's right - by default, |
Honestly, I don't understand your issue. |
It all started with what I checked the code on This code
works, and I conclude that the |
Well, I've got an MPU-9250 an it works as expected with a blackPill F4 and the MPU9250_Basic.ino and it works as expected:
I've also tested with https://github.com/hideakitai/MPU9250 and it works too. |
About:
It have to be called after the Wire.begin();
+ Wire.setClock(400000); |
Thank you very much for taking the time to check. |
Example from here doesn't compile in
Arduino IDE 1.8.19
and on BlackPillstm32f401ccu6
Related link.
This code work awesome
And this one
If compile code
I get output on
PA9
And that's where it all ends...
And on
PB6
exactly the same conclusionSerial ports through
HardwareSerial
do not work adequately.The text was updated successfully, but these errors were encountered: