Open hackbaellchen opened 5 years ago
what is the resolution you are trying ?
I'm trying 320x420. Initializing VGA is printed but nothing more.
#include <ESP32Lib.h>
#include <Ressources/Font6x8.h>
const int redPin = 23;
const int greenPin = 18;
const int bluePin = 27;
const int hsyncPin = 33;
const int vsyncPin = 5;
VGA3Bit vga;
void setup() {
Serial.begin(115200);
Serial.println("Starting");
Serial.println("Initializing VGA");
vga.init(vga.MODE320x240, redPin, greenPin, bluePin, hsyncPin, vsyncPin);
Serial.println("Initializing Font");
vga.setFont(Font6x8);
Serial.println("Printing Text");
vga.println("Hello World!");
Serial.println("Done");
}
void loop() {}
I've had precisely the same problem. I am quite certain the wiring works as I've used the same pins (albeit with resisters) with FabGL lib and VGA works fine.
That seems serious. Did you try other examples from the library? I could also imagine to be a power issue. Please try another usb cable Do you have another esp32 at hands to try?
Elissa notifications@github.com schrieb am Sa., 28. Sep. 2019, 01:39:
I've had precisely the same problem. I am quite certain the wiring works as I've used the same pins (albeit with resisters) with FabGL lib and VGA works fine.
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/bitluni/ESP32Lib/issues/21?email_source=notifications&email_token=ADCGI2ZLFYJUACB2XSVQBHLQL2KT3A5CNFSM4HPS4ST2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD72KTLY#issuecomment-536127919, or mute the thread https://github.com/notifications/unsubscribe-auth/ADCGI2YG74GRIJO6WTLQX43QL2KT3ANCNFSM4HPS4STQ .
I had the same problem and solved it by adding those 2 lines in the VGAHelloWorld sketch :
void setup() { WiFi.begin(); .... }
If someone has an explanation!
I had this same problem and solved it by using the VGAWiFiTextTerminal example instead of the hello world one
I used your example code VGAHelloWorld, added some Serial messages and tried it. They were printed until vga.init(...); the next messages are not shown and further code is not executed either. I also tried using other pins. I'm using the Wemos ESP32 (small blue one), that you also showed in your video.
Thank you for helping!