Hello,
I want to use a 1.8 TFT display with ST7735 controller with Core2 board.
Are there any examples to do this with hFramework?
Can I use (with some adjustments) code for Arduino (e.g. https://github.com/adafruit/Adafruit-ST7735-Library) or are there some other libraries?
I don’t know what you mean by “catching printf outputs”. Do you mean interpreting output data on pc side? If you want to easily exchange data between the board and your pc using serial you can consider trying ros, particularly rosserial library for mbed.
SPI pins are localized on hExt port (2x10 IDC port). Here is a simple example on how to use SPI in mbed:
thanks for your answer.
With “catching printf outputs” I meant the displaying of printf in the serial monitor for debugging purposes. In the meantime I found the trick with: Serial pc(USBTX, USBRX, 115200);
and the same baudrate in the serial monitor of PlatformIO.
I will try the example with SPI in the next time. Hoping I’ll find a Mbed library for my display (ST7735 Display driver)
What is the meaning of the “use_gpio_ssel” parameter ?