defragster
Senior Member+
Sounds like you have been busy and making progress as well. Anyway's got the lib cleaned up, still more to do, and have a cleaned up sketch that allows you do do a screen capture and put it in continuous mode. Takes a little extra time since I have to convert to grayscale to color565. Am attaching if you want to play.
Good CLEANING job mjs513! :: libraries\HM01B0\examples\hm01b0_test
> Works single shot and continuous!
That is The Machine learning carrier taking an "up" photo from my keyboard tray - As displayed with 2.2" :: ILI9341_t3 tft = ILI9341_t3(TFT_CS, TFT_DC, 0);
> Image from phone camera ... rotated and flipped and cropped { not sure why it needed flipped as looking now the image isn't flipped }
Took out:
Code:
// tft.init(240, 320); // Init ST7789 320x240
Swapped to color: ILI9341_BLACK
And fixed these to change display;
Code:
//ST7735 Adafruit 320x240 display
//#include <ILI9341_t3.h> // Hardware-specific library
//#include <ST7789_t3.h>
[B]#include "ILI9341_t3.h"
#include "font_Arial.h"
// For the Adafruit shield, these are the default.
#define TFT_DC 1
#define TFT_CS 5
// Use hardware SPI (on Uno, #13, #12, #11) and the above for CS/DC
// ILI9341_t3(uint8_t _CS, uint8_t _DC, uint8_t _RST = 255, uint8_t _MOSI=11, uint8_t _SCLK=13, uint8_t _MISO=12);
ILI9341_t3 tft = ILI9341_t3(TFT_CS, TFT_DC, 0);[/B]
// ...
setup() {
tft.begin();
tft.fillScreen(ILI9341_BLACK);
tft.setTextColor(ILI9341_YELLOW);
tft.setTextSize(2);
tft.println("Waiting for Arduino Serial Monitor...");
Only one 3.3V - so plugged in a 2X female header with both legs soldered to hold VCC and LED.
Connected with 4" M>F ribbon cable Jumper wires