stimmer / duevga Goto Github PK
View Code? Open in Web Editor NEWArduino Due VGA library
Arduino Due VGA library
Any chance of an upgrade to 800x600 with color using external SRam ?
I suppose this has been brought up many times already.
But I had to ask :)
I notice the limitation of the internal Ram being a factor for color resolution at 800x600.
And I realize it would rob a lot if I/O's from the shield pins
But I think it would make a great addition
I saw this:"...The colour mode uses DMA to the SMC - static memory controller"
If I connect external parallel SRAM like this - http://www.cypress.com/?docID=41968 (which use a SMC), will VGA.lib work?
Thanks.
Thanks!
I'm using the monochrome VGA library (800x600) on a Due. Finally I reached a point where I wanted to add an SD card and realized the MOSI pin on the Due was already used by the monochrome video out. What can I do for MOSI now? Can I still use the MOSI pin?
have you been thinking to add support to this library to draw bitmaps?
or some other kind of graphic?
Hello
it's possible to assign the outputs to other pins? I'm making a shield and it would be simpler to have the pins in one row.
thanks
Hello,
Sinze the library doesn't seem to get developed any further,
did someone change the Font size?
If not I will have to use Image2Code and generate a bit array with the text I want to show.
Not very efficient but, the Due should have enough RAM...
Greetings, Himi
I have a monitor with 640x480 59Hz. Your library with "monochrome" mode works perfectly. But, "colour" mode doesn't work. See this/ http://www.youtube.com/watch?v=dQZaD2WOqXE
It is curiously, that your older(not library) "color" sketches worked normally.
Sorry for a lot of questions, but
How can I stop rendering frame from video-memory to the screen? Or Is there a small function which send video-mem data to the screen? I believe, that while main program runs this function is called by interrupt.
free spi pins for sd in spi protocol and pin 41 and 42 for hsmci protocol
i use your example and upload , it works nice and from that reference i simply display Font. My question is if i want to print bigger size of font than how i will done.? i want to print all character with big and below that i will your small size font. Help me please fast.if you have example than please send me, id:[email protected]. Thank you.
Can You help me to adjust library to WQVGA; 15.625 Hz; 400x234 48Hz?
Hello,
how to change VGA.C for stm32f103c8 ?
thanks
There's a little bug in the clear() method, which just clears the monochrome framebuffer (I guess memset does a null pointer check, preventing a crash if called in colour mode).
Think it needs to be something like the below (I've added a parameter to set the colour).
// VGA.h
void clear(int c = 0);
// Graphics.cpp
void Vga::clear(int c){
if(mode&VGA_COLOUR)
memset(cb,c,cbsize);
else
memset(pb,0,2*pbsize);
}
P.S. Thanks for an amazing library!
Hello
Your library uses timer: TC1_IRQ, TC_0, channel 0(or 1). Can I change this to TC_1 or other timer? Is because "VGA" lib. conflicts with "Audio" lib.
Hello, im new in this and i did all of the wiring, eveerything. When i am compilling the sketch this appears in the console
Arduino:1.8.9 (Windows 10), Board:"Arduino Duemilanove or Diecimila, ATmega328P"
In file included from C:\Users_____\Documents\Arduino\libraries\VGA\examples\HelloWorldColour\HelloWorldColour.ino:4:0:
C:\Users____\Documents\Arduino\libraries\VGA/VGA.h: In function 'void _v_digitalWriteDirect(int, boolean)':
C:\Users____\Documents\Arduino\libraries\VGA/VGA.h:49:11: error: 'g_APinDescription' was not declared in this scope
if(val) g_APinDescription[pin].pPort -> PIO_SODR = g_APinDescription[pin].ulPin;
^
C:\Users___\Documents\Arduino\libraries\VGA/VGA.h:50:11: error: 'g_APinDescription' was not declared in this scope
else g_APinDescription[pin].pPort -> PIO_CODR = g_APinDescription[pin].ulPin;
^
exit status 1
theres something I have to do before??? I hope you can help me, thanks.
Hi, can I somewhere download older versions which doesn't use DMA?
Thanks
I'm using your VGA library with the Arduino Due and I find it very useful. I'm working on a little homebrew project with this. Basically, a little instrument where I can take snapshots of data, via a FPGA data logger for several channels, and use the Due to process everything and display on the screen.
There was one thing I noticed on the screen. I attached a screenshot with arrows pointing out the aberrations. I'm not sure if this subject has been brought up yet. The pic is not that sharp - difficult to hold my hand still :) But there are several instances where the pixels are shifted right by one pixel. This is a hi-res pic, so if you download this you can zoom into the area of the problem.
The majority of the display is good, just those areas have the shifted pixels. And from looking at the whole screen, you can see a pattern in the repetition. You can see it happen within the text or the line drawings or the left edge of the screen border. BTW, the test is just a extra Font library I made to use a smaller 4x5 pixel matrix for the display.
Hello
I have a question. I saw function "VGA.Scroll"
Can I use this for scroll left/right/up/down a large picture or other large objects which are larger than the screen?
(sorry for my english :) )
Hello, I'm using DueVGA library and it is great. I'm making a simple GUI homemade computer. Currently it only supports mice, but when Due USBHost Library got support usb hubs, it will support both mice and keyboard. I wanted to make a simple gif animator program, so i looked at SDCard example in extras. It has a convertor (makeanim.py) that converts gif files to pixel data that Arduino program understands. But it has problems in some gifs like you said (Not all animated GIFs will work properly due to a bug in the Python Imaging Library) and this bug is happening in some of my necessary gifs. So i made the similar version of this convertor in C#. It is working without these bugs, but I couldn't modify palette because I couldn't understand full of the code in python script. So there is some color quality problems... (Colors has much less quality in my convertor) When I finish it, i will make a pr but now i need to fix its problem. I will post its code in second post, how can i fix its color problem?
Thanks, again, very good library.
So, I bought this breakout board on SparkFun (https://www.sparkfun.com/products/11569) and now I noticed some diferences from your schematics (http://dlnmh9ip6v2uc.cloudfront.net/datasheets/Dev/FPGA/Papilio-VGA_Wing-v10.pdf). Pin 5 is not connected to anything and Pin 11 is connected to ground.
Pin5 is supposed to be GND and Pin11 is ID0 (Monitor ID Bit 0).
I know the resistor values are diferent, that's easy to fix, but will it work with pins 5 and 11 swapped? Should I solder Pin5 to Pin10? I don't wanna fry my Arduino...
Thanks for any help!
Daniel
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.