Search found 70 matches
- Wed Jan 27, 2021 11:52 pm
- Forum: General discussion
- Topic: program modification
- Replies: 19
- Views: 9958
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 ...
- Wed Jan 27, 2021 11:27 pm
- Forum: General discussion
- Topic: program modification
- Replies: 19
- Views: 9958
Re: program modification
I am using this board and oscilloscope.
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.
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.
- Wed Jan 27, 2021 9:20 pm
- Forum: General discussion
- Topic: program modification
- Replies: 19
- Views: 9958
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?
- Wed Jan 27, 2021 5:51 pm
- Forum: General discussion
- Topic: program modification
- Replies: 19
- Views: 9958
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...
- Wed Jan 27, 2021 4:57 pm
- Forum: General discussion
- Topic: program modification
- Replies: 19
- Views: 9958
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...
- Wed Jan 27, 2021 3:24 pm
- Forum: General discussion
- Topic: program modification
- Replies: 19
- Views: 9958
Re: program modification
I want to scan I2C2, which is pins PB10 and PB11
- Wed Jan 27, 2021 2:50 pm
- Forum: General discussion
- Topic: program modification
- Replies: 19
- Views: 9958
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....
Re: Examples
I changed the name and list is Long = Thanks for hint.
example list does not changed
example list does not changed
- Tue Jan 26, 2021 1:36 pm
- Forum: General discussion
- Topic: [Solved] I2C OLED Only Displays if Reset is Pressed??
- Replies: 9
- Views: 6062
Re: [Solved] I2C OLED Only Displays if Reset is Pressed??
Can you connect OLED to PB10 and PB11 and tell me the scanner results ?
- Tue Jan 26, 2021 1:30 pm
- Forum: General discussion
- Topic: [Solved] I2C OLED Only Displays if Reset is Pressed??
- Replies: 9
- Views: 6062
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...