The TFT_ILI9163C Library works without modification for me
LINK
If the screen isnt used completely, change the board design in the header file (Line 140).
EDIT:
Testing the examples, seems like the Cube example doesnt work. But man, the bubble example looks just freakin amazing, thanks to all the speed EasyScroll seems to do nothing.
~Straw
Sorry
~Straw
EDIT: Looks like I didn’t push that one to Rogers repo. I’ll do it soon.
At the moment the latest version should be in my repo at https://github.com/victorpv/TFT_ILI9163C
If that one has any problem let me know.
The file you linked here shows my modifications for the STM32F1, DMA support, etc, but I can’t say if that is the very latest without looking at all the code as it had small modification over the a period of time.
EDIT: the version in your zip is from 4/21. After that there were small changes to the cube example, a second one added with another 2 cubes in the same screen, and small edits, but nothing major to the library itself except moving some #define lines to the top of the header file to make those more visible, and those control whether DMA will be used or not, whether 16bit transfers will be used or not, and another optimization that results in bigger but faster line functions.

~Straw
Will you actually update it to 0.9 before pushing it into the repo?
Im actually curious why he published it for ESP
~Straw
~Straw
The cube one was working fine, and in fact I used it’s code to make an example of 2 tasks running at the same time for CoOS and FreeRTOS.
EDIT: Just had a moment to test the bigpicture example. That is a batman picture that I remember now it worked before, and still works fine for me.
If you get compile errors copy them here to see what could they be related to.
Arduino_STM32/STM32F1/libraries/Adafruit_GFX_AS renamed to Adafruit_GFX?
Both Adafruit_GFX and Adafruit_GFX_AS work with TFT_ILI9163C, I’m just wondering which one is the best one to use

Here is the demo sketch, with some comments to aid those following behind…
The display had been lying in my pile of stuff I really should get round to testing since it, and its identical twin arrived in the post about six months ago.
// Henry's Bench
// 1.44" 128 * 128 SPI V1.1 Display Tutorial
// Modified by Andy Hull with example pin map for ease of use with an STM32F103XXXX board see www.stm32duino.com
// http://stm32duino.com/posting.php?mode=reply&f=13&t=292
#include <SPI.h>
#include <Adafruit_GFX.h>
#include <TFT_ILI9163C.h>
// Definition of colours
#define WHITE 0xFFFF
#define BLUE 0x0000FC
/*
Connections to an STM32F103CXXX board as follows. (Wire colours for reference only, clearly you can use whatever colours you please).
NOTE: While most of the cheap "ILI9163C 128x128 TFT" boards will probably work you may also need to set the board type in TFT_ILI9163C.h
Also, the STM32F103XXX boards are 3v3 devices, as is the display, so you can in fact short out the link across the regulator on the display and power it directly from the 3v3 on the STM board.
Pinout - (TFT => stm32duino)
LED to 3.3V - Orange - Could also be taken to a suitable pin + transistor to drive the backlight.
NOTE: The backlight will probably draw far too much current for one GPIO pin to handle unbuffered.
SCK to PA5 - Yellow - STM32 -> SPI1_SCK - These two SPI pins are hardware defined pins
SDA to PA7 - Greeen - STM32 -> SPI1_MOSI -
- The exact pin number of the next three pins are not critical, you should be able to use and GPIO, update the below #defines and it should work.
A0 to PB6 - Blue
RST to PB5 - Violet - Can also be tied to STM32_NRST, so save a GPIO pin.
CS to PB7 - Grey
GND to GND - Brown
VCC to 3.3V - Red
*/
// Additional SPI1 pins.
#define RST PB5
#define DC PB6
#define CS PB7
// Declare an instance of the ILI9163
TFT_ILI9163C tft = TFT_ILI9163C(CS, DC, RST);
void setup() {
tft.begin();
tft.fillScreen();
}
void loop(){
testText();
delay(500);
}
unsigned long testText() {
tft.setCursor(29, 63);
tft.setTextColor(WHITE);
tft.setTextSize(1);
tft.println("STM32F103CXXX");
tft.setCursor(29, 73);
tft.println("SPI ILI9163C");
tft.setTextColor(BLUE);
tft.setCursor(15, 83);
tft.println("www.stm32duino.com");
}
Most of the credit lies here… http://www.instructables.com/id/Arduino … -graphic-/
- RIMG0963_small.JPG (163.9 KiB) Viewed 3175 times
http://www.stm32duino.com/viewtopic.php … 588#p19588
Can I add it to the examples ?
http://www.stm32duino.com/viewtopic.php … 588#p19588
Can I add it to the examples ?
I’ll put it on my To Do list
I’ll put it on my To Do list

https://github.com/pingumacpenguin/STM3 … alog_Meter
Believe it or not there is space on that little 1.44″ screen to squeeze in two meters, so you could use it for stereo VU meters or a CC CV lab supply.
I may have a crack at updating the demo to show two separate meters. You will need good eyesight to read them accurately though


… the display also works with a cut down version of the Pig-O-Scope. Details here => viewtopic.php?f=19&t=107&start=350#p20705
which arduino version and SAM version did you use to complies, i try many them still no luck always got error.
Using library TFT_ILI9163C at version 0.9 in folder: /home/ahull/Arduino/libraries/TFT_ILI9163C
Using library Adafruit_GFX_Library at version 1.1.5 in folder: /home/ahull/Arduino/libraries/Adafruit_GFX_Library