Search found 70 matches

by stan
Wed Jan 27, 2021 11:52 pm
Forum: General discussion
Topic: program modification
Replies: 19
Views: 9844

Re: program modification

Can you try this program on PB8 and PB9 ? I tis working with my stm32f103 only on PB6 and PB7. #include <SPI.h> #include <Wire.h> #include <Adafruit_GFX.h> #include <Adafruit_SSD1306.h> #define OLED_RESET 4 Adafruit_SSD1306 display(OLED_RESET); //#if (SSD1306_LCDHEIGHT != 64) #if (SSD1306_LCDHEIGHT ...
by stan
Wed Jan 27, 2021 11:27 pm
Forum: General discussion
Topic: program modification
Replies: 19
Views: 9844

Re: program modification

I am using this board and oscilloscope.
OIP.jfkiAosjYt4p3s3N5w48YAHaFj.jpeg
OIP.jfkiAosjYt4p3s3N5w48YAHaFj.jpeg (5.54 KiB) Viewed 4591 times
Green LED is on PC13

Which program you are using for testing OLED on pins PB10 and PB11?

my address for pins PB6/7 and PB8/9 is 0x3C - using not modify scanner program.
by stan
Wed Jan 27, 2021 9:20 pm
Forum: General discussion
Topic: program modification
Replies: 19
Views: 9844

Re: program modification

When I upload this code the Green LED on board is flashing and nothing on serial monitor. What are yours scanning results of pins PB10 and PB11?
by stan
Wed Jan 27, 2021 5:51 pm
Forum: General discussion
Topic: program modification
Replies: 19
Views: 9844

Re: program modification

Because the problem with I2C2 I try using I2C on pins PB8 and PB9 , this program is working on pins PB6 an d PB7 but not on PB8 and PB9 pins. I scanned pins PB8 and PB9 and PB6 an d PB7 and have for both address 0x27. #include <Wire.h> #include <LiquidCrystal_I2C.h> // Set the LCD address to 0x3F fo...
by stan
Wed Jan 27, 2021 4:57 pm
Forum: General discussion
Topic: program modification
Replies: 19
Views: 9844

Re: program modification

// -------------------------------------- // i2c_scanner // // Version 1 // This program (or code that looks like it) // can be found in many places. // For example on the Arduino.cc forum. // The original author is not know. // Version 2, Juni 2012, Using Arduino 1.0.1 // Adapted to be as simple a...
by stan
Wed Jan 27, 2021 3:24 pm
Forum: General discussion
Topic: program modification
Replies: 19
Views: 9844

Re: program modification

I want to scan I2C2, which is pins PB10 and PB11
by stan
Wed Jan 27, 2021 2:50 pm
Forum: General discussion
Topic: program modification
Replies: 19
Views: 9844

Re: program modification

I did this way and have an error // -------------------------------------- // i2c_scanner // // Version 1 // This program (or code that looks like it) // can be found in many places. // For example on the Arduino.cc forum. // The original author is not know. // Version 2, Juni 2012, Using Arduino 1....
by stan
Tue Jan 26, 2021 9:04 pm
Forum: IDE's
Topic: Examples
Replies: 25
Views: 19759

Re: Examples

I changed the name and list is Long = Thanks for hint.

board ok.png
board ok.png (23.88 KiB) Viewed 3851 times
example list does not changed
by stan
Tue Jan 26, 2021 1:36 pm
Forum: General discussion
Topic: [Solved] I2C OLED Only Displays if Reset is Pressed??
Replies: 9
Views: 5968

Re: [Solved] I2C OLED Only Displays if Reset is Pressed??

Can you connect OLED to PB10 and PB11 and tell me the scanner results ?
by stan
Tue Jan 26, 2021 1:30 pm
Forum: General discussion
Topic: [Solved] I2C OLED Only Displays if Reset is Pressed??
Replies: 9
Views: 5968

Re: [Solved] I2C OLED Only Displays if Reset is Pressed??

Look at this program it has ; #define OLED_RESET 4 Adafruit_SSD1306 display(OLED_RESET); In instruction is says that 3 wire connection is needed but I using only 2, SDA and SCL #include <SPI.h> #include <Wire.h> #include <Adafruit_GFX.h> #include <Adafruit_SSD1306.h> #define OLED_RESET 4 Adafruit_SS...

Go to advanced search