Search found 4 matches

by caniggia
Fri May 26, 2017 11:13 am
Forum: STM Core
Topic: Arduino_Core_STM32F1 & I2C
Replies: 1
Views: 39

Arduino_Core_STM32F1 & I2C

Hi I have tried "Arduino_Core_STM32F1" repo: https://github.com/stm32duino/Arduino_Core_STM32F1 , because i need uC as I2C slave. I found out that I2C works only on PB8 & PB9. As i have boards with SCL & SDA on PB6 & PB7 i have a question: has anyone managed to get I2C working ...
by caniggia
Thu May 18, 2017 12:01 pm
Forum: STM Core
Topic: Introducing the new Arduino core for STM32
Replies: 5
Views: 289

Re: Introducing the new Arduino core for STM32

OK,
i've added '-USBCON' instead of '-DUSBCON' and now it compiles.

And if i add 'Serial.begin()' to the sketch i get USB virtual COM.
by caniggia
Thu May 18, 2017 11:37 am
Forum: STM Core
Topic: Introducing the new Arduino core for STM32
Replies: 5
Views: 289

Re: Introducing the new Arduino core for STM32

Hi If i add '-DUSBCON' to .build.upload_flags in 'boards.txt', i get this error: AppData\Local\Arduino15\packages\STM32\hardware\stm32f1\2017.1.20\cores\arduino\main.cpp:54:2: error: 'USBDevice' was not declared in this scope USBDevice.attach(); ^ exit status 1 Error compiling for board BluePill F10...
by caniggia
Tue Dec 06, 2016 3:24 pm
Forum: Generic STM32F103
Topic: USB problem
Replies: 34
Views: 1521

Re: USB problem

Hmm, thats the mystery, I tried several terminal software like hterm, the windows-internal Hyperterminal, putty, with definitifly the right settings, but only the linked "Advanced Serial Monitor" and the Arduino-internal monitor worked. :o really strange.... I found a hint in a german for...

Go to advanced search