indrekluuk / LiveOV7670

A step-by-step guide to building the circuit for this project:
https://circuitjournal.com/arduino-ov7670-10fps
243 stars 91 forks source link

При проверке выдает ошибку код #14

Open Bolivar4x4 opened 5 years ago

Bolivar4x4 commented 5 years ago

Ошибка qualified-id in declaration before '(' token при компиляции sketch\Adafruit_ST7735_mod.cpp: In member function 'void Adafruit_ST7735_mod::setAddrWindow(uint8_t, uint8_t, uint8_t, uint8_t)':

Adafruit_ST7735_mod.cpp:365:42: error: qualified-id in declaration before '(' token

void Adafruit_ST7735_mod::startAddrWindow(uint8_t x0, uint8_t y0, uint8_t x1, uint8_t y1) {

                                      ^

Adafruit_ST7735_mod.cpp:375:40: error: qualified-id in declaration before '(' token

void Adafruit_ST7735_mod::endAddrWindow() {

                                    ^

Adafruit_ST7735_mod.cpp:383:36: error: qualified-id in declaration before '(' token

void Adafruit_ST7735_mod::pushColor(uint16_t color) {

                                ^

Adafruit_ST7735_mod.cpp:399:36: error: qualified-id in declaration before '(' token

void Adafruit_ST7735_mod::drawPixel(int16_t x, int16_t y, uint16_t color) {

                                ^

Adafruit_ST7735_mod.cpp:421:40: error: qualified-id in declaration before '(' token

void Adafruit_ST7735_mod::drawFastVLine(int16_t x, int16_t y, int16_t h, uint16_t color)

                                    ^

Adafruit_ST7735_mod.cpp:584:1: error: expected '}' at end of input

}

^

exit status 1 qualified-id in declaration before '(' token

indrekluuk commented 5 years ago

Have you made any changes in Adafruit_ST7735_mod.cpp? Line 365 in Adafruit_ST7735_mod.cpp is not "void Adafruit_ST7735_mod::startAddrWindow(uint8_t x0, uint8_t y0, uint8_t x1, uint8_t y1)"