Overloading documentation
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
@ -53,11 +53,8 @@ bool CommandHandler::parseJSON(const char *cmd)
|
|||||||
|
|
||||||
if (strcmp("offset", command) == 0)
|
if (strcmp("offset", command) == 0)
|
||||||
{
|
{
|
||||||
int x = json["x"];
|
|
||||||
int y = json["y"];
|
|
||||||
debugSerial("offset unhandled");
|
debugSerial("offset unhandled");
|
||||||
//this->display->setOffset(x, y);
|
return false;
|
||||||
return true;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
return false;
|
return false;
|
||||||
|
@ -44,9 +44,12 @@ public:
|
|||||||
|
|
||||||
private:
|
private:
|
||||||
/**
|
/**
|
||||||
* Internal helpers for printing debug strings
|
* Internal helper for printing debug strings
|
||||||
*/
|
*/
|
||||||
void debugSerial(const char *text);
|
void debugSerial(const char *text);
|
||||||
|
/**
|
||||||
|
* @overload
|
||||||
|
*/
|
||||||
void debugSerial(const char *command, const char *text);
|
void debugSerial(const char *command, const char *text);
|
||||||
/**
|
/**
|
||||||
* Display instance
|
* Display instance
|
||||||
|
@ -1,15 +1,5 @@
|
|||||||
; PlatformIO Project Configuration File
|
|
||||||
;
|
|
||||||
; Build options: build flags, source filter
|
|
||||||
; Upload options: custom upload port, speed and extra flags
|
|
||||||
; Library options: dependencies, extra library storages
|
|
||||||
; Advanced options: extra scripting
|
|
||||||
;
|
|
||||||
; Please visit documentation for the other options and examples
|
|
||||||
; https://docs.platformio.org/page/projectconf.html
|
|
||||||
|
|
||||||
[env:max7456board]
|
[env:max7456board]
|
||||||
platform = atmelavr
|
platform = atmelavr
|
||||||
board = pro16MHzatmega328
|
board = pro16MHzatmega328
|
||||||
framework = arduino
|
framework = arduino
|
||||||
lib_deps = ArduinoJson, git+https://github.com/Avamander/max7456
|
lib_deps = ArduinoJson, git+https://github.com/Avamander/max7456
|
Reference in New Issue
Block a user