Search found 1823 matches

by stevestrong
Fri Dec 15, 2017 4:32 pm
Forum: General discussion
Topic: generator on a timer with an interval of 25 nanoseconds ?
Replies: 2
Views: 45

Re: generator on a timer with an interval of 25 nanoseconds ?

You should use directly the PWM output signal of timer instead of digital port output.
Add this line to setup() to generate PWM signal on a timer channel pin:

Code: Select all

pinMode(OUTPUT_TIMER_CHANNEL_PIN, PWM);
by stevestrong
Thu Dec 14, 2017 7:50 pm
Forum: New users MUST post here first, and let us know a bit about you and your projects
Topic: Hello from Philippines
Replies: 7
Views: 63

Re: Hello from Philippines

You have to connect a USB cable from PC to the micro USB slot of the blue pill.
The Stlink is just for upload, but it does not have serial com port.
by stevestrong
Thu Dec 14, 2017 4:37 pm
Forum: New users MUST post here first, and let us know a bit about you and your projects
Topic: Hello from Philippines
Replies: 7
Views: 63

Re: Hello from Philippines

Welcome.
You can use any of the serial interfaces: Serial (USB), Serial1, Serial2,...
by stevestrong
Thu Dec 14, 2017 12:25 pm
Forum: Problems with libraries
Topic: Multiple I2C libraries
Replies: 8
Views: 107

Re: Multiple I2C libraries

You can try adding similar check points: void setup() { Serial.begin(115200); while (!Serial) ; // wait for a serial connection via USB delay(1000); Serial.println("SSD1306 begin"); // check point display.begin(SSD1306_SWITCHCAPVCC, 0x3C); display.display(); delay(2000); Serial.println("VL begin"); ...
by stevestrong
Wed Dec 13, 2017 9:02 pm
Forum: STM32F4 Boards
Topic: STM32-RFM69
Replies: 23
Views: 469

Re: STM32-RFM69

Asking again: which core do you use? Arduino_STM32 or the STM32DUINO?
by stevestrong
Wed Dec 13, 2017 7:38 pm
Forum: STM32F4 Boards
Topic: STM32-RFM69
Replies: 23
Views: 469

Re: STM32-RFM69

Which original library?
by stevestrong
Wed Dec 13, 2017 7:34 pm
Forum: STM32F4 Boards
Topic: STM32-RFM69
Replies: 23
Views: 469

Re: STM32-RFM69

kylix wrote:
Fri Dec 08, 2017 9:36 pm
The library you pointed to, I'm using it with Moteino and RFM69HW and it works flawlessly.
I think you should use the same library which is working.
Please also post a simple test sketch to reproduce the problem.

Btw, which core do you use? The Arduino_STM32 or the STM32DUINO core?
by stevestrong
Wed Dec 13, 2017 7:19 pm
Forum: General discussion
Topic: usb host contr stm32
Replies: 10
Views: 141

Re: usb host contr stm32

Have you ever considered to use a CH376 module? It interfaces directly a USB stick, so you don't need USB host functionality.
http://arduinobasics.blogspot.de/2015/0 ... odule.html
I have tested one of these and it really works, but do not expect high access speed.
by stevestrong
Wed Dec 13, 2017 1:18 pm
Forum: Problems with libraries
Topic: Multiple I2C libraries
Replies: 8
Views: 107

Re: Multiple I2C libaries

Put some serial output lines to detect which is the line where the sketch hangs.