![]() ![]() uncomment ATMEGA2560_MAXRES to use 200x240px rectangular pixels You can enable this alternative resolution by uncommenting this constants on VGAXUA.h header: On Arduino MEGA (ATMega2560) framebuffer can be extended to 200x80px with squared pixels or 200x240px with rectangular pixels. VGAXUA library use AVR UART serial bus to pipe out pixels, instead of software bitbanging like VGAX. Inside each byte are stored 8 pixels, packed in a reversed order: rightmost pixel is on the most significant bit (LSB->MSB). ![]() VGAXUA framebuffer use 1 bit for each pixel. On ATMega2560 you have more SRAM but if you expand the framebuffer to 200x240px free SRAM will be 2000 bytes. This mean that on ATMega328 your programs cannot use more than 128 bytes of SRAM so be carefull! If you want, you can use another Arduino UNO to drive the one that use VGAXUA library. The framebuffer is stored inside SRAM and require at least 1920 bytes. On Arduino MEGA resolution can be increased to 200x240px. The library implement a 192x80px framebuffer where each pixel is stored as 1 bits (2 colors). Creditsīased on the VGA color video generation by Nick Gammon.ĪVR interrupt dejitter from Charles CNLOHR.Ĭheck out my others VGA libraries: VGAX, ESPVGAX. Does not work with ATTINY family or ATMega168. This library require an ATMega328 MCU (or higher) MCU. To use this library you need only 3 resistors and one DSUB15 connector. This is a VGA library for Arduino UNO and Arduino MEGA. ![]()
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |