only works with the Serial object; do not call externally without it */
| 739 | |
| 740 | /* only works with the Serial object; do not call externally without it */ |
| 741 | void begin(uint32_t speed, int width=VECTOR_DISPLAY_DEFAULT_WIDTH, int height=VECTOR_DISPLAY_DEFAULT_HEIGHT) { |
| 742 | #ifndef NO_SERIAL |
| 743 | if (doSerialBegin) { |
| 744 | Serial.begin(speed); |
| 745 | while(!Serial) ; |
| 746 | } |
| 747 | #endif |
| 748 | VectorDisplayClass::begin(width, height); |
| 749 | } |
| 750 | |
| 751 | bool getSwapBytes(void) { return false; } // stub |
| 752 | void setSwapBytes(bool swap) { return; } // stub |