Hi, I know i am going to regret asking this question.
I have worked with microchip pic’s for many years and have a good understanding of micro’s and c/c++ code.
But i thought i would learn a bit about the STM32f103c8t6 and the arduino ide.
So i wrote a few lines of code to prduce some output on the port pins.
Starting with i2c.
#include <Wire.h> #include <SoftWire.h> #define BNO055_SLAVEADDRESS 0x28 Wire.beginTransmission(BNO055_SLAVEADDRESS); Wire.write(data); Wire.endTransmission();
Simple bit of code in a loop produces not pin activity.
Simalar with a small serial output code, no pin output.
All compile and upload ok.
Using FTDI232 and Blue Pill.
I am missing something somewhere.