Search found 8 matches

by Jblb
Sat Feb 08, 2020 1:17 pm
Forum: General discussion
Topic: unable to have I2C2 working on a bluepill
Replies: 11
Views: 400

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...
by Jblb
Fri Feb 07, 2020 5:41 pm
Forum: General discussion
Topic: unable to have I2C2 working on a bluepill
Replies: 11
Views: 400

Re: unable to have I2C2 working on a bluepill

@fpiSTM

if i remove

Code: Select all

Wire2.setSCL(PB_10);
Wire2.setSDA(PB_11);
Wire2 is not working any more....

need to set my my logic analyzer to get a closer look to signal
by Jblb
Fri Feb 07, 2020 10:02 am
Forum: General discussion
Topic: unable to have I2C2 working on a bluepill
Replies: 11
Views: 400

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 :|
by Jblb
Thu Feb 06, 2020 6:02 pm
Forum: General discussion
Topic: unable to have I2C2 working on a bluepill
Replies: 11
Views: 400

Re: unable to have I2C2 working on a bluepill

fpiSTM wrote:
Thu Feb 06, 2020 5:28 pm
You should try the master.
Ok i see, now new question: how to use the master ?
by Jblb
Thu Feb 06, 2020 3:02 pm
Forum: General discussion
Topic: unable to have I2C2 working on a bluepill
Replies: 11
Views: 400

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...
by Jblb
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: 885

Re: let me introduice myself

fpiSTM wrote:
Mon Jan 13, 2020 10:46 am
Hi @Jblb
Welcome, maybe we will meet soon :mrgreen:
i hope so :D
by Jblb
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: 885

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...

Go to advanced search