Search found 8 matches
- Sat Feb 08, 2020 1:17 pm
- Forum: General discussion
- Topic: unable to have I2C2 working on a bluepill
- Replies: 11
- Views: 9382
Re: unable to have I2C2 working on a bluepill
OK, I think I know why. You use the Pin Name instead of the pin number: TwoWire Wire2(PB11, PB10); fine you gt it, when I change it's works ! I didn't understand very well the naming of pins/pins number there is something in the wiki about this ? Probably, the second constructor could be added to a...
- Fri Feb 07, 2020 5:41 pm
- Forum: General discussion
- Topic: unable to have I2C2 working on a bluepill
- Replies: 11
- Views: 9382
Re: unable to have I2C2 working on a bluepill
@fpiSTM
if i remove
Wire2 is not working any more....
need to set my my logic analyzer to get a closer look to signal
if i remove
Code: Select all
Wire2.setSCL(PB_10);
Wire2.setSDA(PB_11);
need to set my my logic analyzer to get a closer look to signal
- Fri Feb 07, 2020 10:02 am
- Forum: General discussion
- Topic: unable to have I2C2 working on a bluepill
- Replies: 11
- Views: 9382
Re: unable to have I2C2 working on a bluepill
hi @fpiSTM
yes it's works, i just miss the wiki page about this, title did not tel me it was about this....
about the second instantiate it's come from tests i made to have it working and forgot to remove
yes it's works, i just miss the wiki page about this, title did not tel me it was about this....
about the second instantiate it's come from tests i made to have it working and forgot to remove
- Thu Feb 06, 2020 6:02 pm
- Forum: General discussion
- Topic: unable to have I2C2 working on a bluepill
- Replies: 11
- Views: 9382
- Thu Feb 06, 2020 3:02 pm
- Forum: General discussion
- Topic: unable to have I2C2 working on a bluepill
- Replies: 11
- Views: 9382
unable to have I2C2 working on a bluepill
Hi all i try to use 2 I2C bus on a bluepill and and I can't get the second one working. here is my code to setup them #include <Wire.h> // second I2C on PB_11 (SDA) PB_10 (SCL) TwoWire Wire2(PB_11, PB_10); [....] void setup() { //alternate pin for I2C1 (wire) Wire.setSCL(PB_8); Wire.setSDA(PB_9); Wi...
- Mon Jan 13, 2020 1:38 pm
- Forum: Let us know a bit about you and your projects
- Topic: let me introduice myself
- Replies: 13
- Views: 10922
- Mon Jan 06, 2020 11:10 pm
- Forum: Forum rules, FAQs and HowTo's
- Topic: [Forum] Extensions
- Replies: 3
- Views: 10991
- Mon Jan 06, 2020 3:17 pm
- Forum: Let us know a bit about you and your projects
- Topic: let me introduice myself
- Replies: 13
- Views: 10922
let me introduice myself
hi everybody, let me introduice myself: I am a maker, professionally technician in live performance, but also one of the creator of the Haum hacker-space in Le mans, next to @fpiSTM office... like most of the hackers/maker we are using Arduino board but, with ST as neighbors and because board are mo...