Merge pull request #2 from adafruit/kitty_printer

adding kitty printer progress
This commit is contained in:
Liz 2024-02-20 14:47:02 -05:00 committed by GitHub
commit 2cc8d20afe
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 12 additions and 0 deletions

View file

@ -684,6 +684,17 @@ void Adafruit_PyCamera::blitFrame(void) {
esp_camera_fb_return(frame);
}
/**************************************************************************/
/**
* @brief Blits the current frame buffer to the display.
*
* @details This function returns the frame buffer to the camera for
* reuse. Used when you are drawing your own bitmap to the framebuffer
* in user code.
*/
/**************************************************************************/
void Adafruit_PyCamera::refresh(void) { esp_camera_fb_return(frame); }
/**************************************************************************/
/**
* @brief Initializes the accelerometer.

View file

@ -82,6 +82,7 @@ public:
bool captureFrame(void);
void blitFrame(void);
void refresh(void);
bool takePhoto(const char *filename_base, framesize_t framesize);
bool setFramesize(framesize_t framesize);
bool setSpecialEffect(uint8_t effect);