Color565 error Adafruit ST7735

Hello Community

I try to run Flappy Bird on a Arduino Nano.

#include <Adafruit_ST7735.h>
#include <Adafruit_GFX.h>
#include <SPI.h>


// bird sprite
// bird sprite colors (Cx name for values to keep the array readable)
#define C0 BCKGRDCOL
#define C1 TFT.Color565(195,165,75)
#define C2 BIRDCOL
#define C3 ST7735_WHITE
#define C4 ST7735_RED
#define C5 TFT.Color565(251,216,114)
static unsigned int birdcol[] =
{ C0, C0, C1, C1, C1, C1, C1, C0,
  C0, C1, C2, C2, C2, C1, C3, C1,
  C0, C2, C2, C2, C2, C1, C3, C1,
  C1, C1, C1, C2, C2, C3, C1, C1,
  C1, C2, C2, C2, C2, C2, C4, C4,
  C1, C2, C2, C2, C1, C5, C4, C0,
  C0, C1, C2, C1, C5, C5, C5, C0,
  C0, C0, C1, C5, C5, C5, C0, C0};

line #define C5 TFT.Color565(251,216,114)

I get this error ‘class Adafruit_ST7735’ has no member named ‘Color565’; did you mean ‘color565’?

Library is Adafruit ST7735 Version 1.5.5
Arduino 1.8.10

Any Idea how I can fix it?

Thanks for help.

Well, did you mean “color565”?

I think you probably DID mean "color565" but accidentally typed "Color565". You should fix that typo.

I get the Code from here ATmega328-Flappy-Bird-Clone/flappy.ino at master · mrt-prodz/ATmega328-Flappy-Bird-Clone · GitHub just copy and paste.

mastrolindo83:
I get the Code from here ATmega328-Flappy-Bird-Clone/flappy.ino at master · mrt-prodz/ATmega328-Flappy-Bird-Clone · GitHub just copy and paste.

Ok, so you did not make the typo. You could try to contact the author to ask them to fix that one character, wait for the fix, and re-download the sketch.
Or you could fix the character yourself.