Comments (5)
well I wrote it to work with other clocks but have not been able to test it.
The comment was targeted at that one render method and should actually work at
lower clock speeds.
That said what resolution are you running? try something very low to start with
say 56 pixels wide.
I have also never tried to get it working on the older devices (like your 32 or
the 8). If I can find time soon I will try getting it working at 20mhz assuming
it does then it will work at all other clock speeds as well(well fast enough
ones anyway).
Original comment by [email protected]
on 25 Feb 2011 at 10:52
from arduino-tvout.
Thanks for reply, good to know that it could work with other clock speed. I
already tried with other resolution but it doesn't work. I even can't see a big
diffrent when changing the resolution (I thought the flickering lines should be
bigger with lower resolution). I event tried to extend the assembler routine
but no luck :)
I'm not able to localize the problem, could be the video properties, an
assembler routine, sync, timer or other problem...
I'm trying this just for fun (and learning) because I have an atmega32! Not
important, so forget about it. If I have the time and make progress I will post
it here.
Thanks again
Original comment by [email protected]
on 26 Feb 2011 at 8:12
from arduino-tvout.
Ok, some progress. I expected that the file hardware_setup.h is
correct/tested...
For atmega32 the sync Pin is wrong, it should be:
//sync
#define PORT_SYNC PORTD
#define DDR_SYNC DDRD
#define SYNC_PIN 5
As you can see in the attachment, it is working much better...
Original comment by [email protected]
on 26 Feb 2011 at 9:33
Attachments:
from arduino-tvout.
Ok running at 120x96 @8mhz wont work now, the 3cycle output method is indeed
limited to 16mhz now. However all the other routines are not clock speed
dependent.
To sidestep this issue use a horizontal resolution of no more than 88. Then if
there are still issues with the image call TV.force_outstart(time) right after
TV.begin(...) is called. Selecting the correct value for time will require
some trial and error, the defualt value is 12 for NTSC and 12.5 for PAL, it
currently only takes integers however.
If you really want the higher resolions to work (up too 120 pixels @8mhz)
modify void render_line3c().
Remove:
"cpi %[hres],30\n\t" //615
"breq skip0\n\t"
"cpi %[hres],29\n\t"
"breq jumpto1\n\t"
"cpi %[hres],28\n\t"
"breq jumpto2\n\t"
"cpi %[hres],27\n\t"
"breq jumpto3\n\t"
"cpi %[hres],26\n\t"
"breq jumpto4\n\t"
"cpi %[hres],25\n\t"
"breq jumpto5\n\t"
"cpi %[hres],24\n\t"
"breq jumpto6\n\t"
"jumpto1:\n\t"
"rjmp skip1\n\t"
"jumpto2:\n\t"
"rjmp skip2\n\t"
"jumpto3:\n\t"
"rjmp skip3\n\t"
"jumpto4:\n\t"
"rjmp skip4\n\t"
"jumpto5:\n\t"
"rjmp skip5\n\t"
"jumpto6:\n\t"
"rjmp skip6\n\t"
"skip0:\n\t"
"byteshift\n\t" //1 \\643
"skip1:\n\t"
"byteshift\n\t" //2
"skip2:\n\t"
"byteshift\n\t" //3
"skip3:\n\t"
"byteshift\n\t" //4
"skip4:\n\t"
"byteshift\n\t" //5
"skip5:\n\t"
"byteshift\n\t" //6
"skip6:\n\t"
AND make sure there are only 16 calls byteshift macro calls. This will hard
limit this method to 120pixels but It "should" work at 8mhz.
Also I dont think set_hbi_hook will work at 8mhz just not enough time.
Original comment by [email protected]
on 26 Feb 2011 at 2:26
from arduino-tvout.
I can't get a higher resolution but figured out that since I changed the sync
port it is working with 48x48 pixel! See attached video
Original comment by [email protected]
on 26 Feb 2011 at 4:09
Attachments:
from arduino-tvout.
Related Issues (20)
- Logic error in begin(uint8_t mode, uint8_t x, uint8_t y) HOT 1
- Screen Resolution
- Getting signal but black screen HOT 5
- Arduino 8MHZ sync problems
- Hackvision, cannot get it to work with TVOut beta1
- Color ?
- Download -> TVOut Arduino Compilation error fix for Mac OS X users (possibly windows too? haven't tested)
- bug in graphic functions
- Not compling in Mega 2560 HOT 4
- Fix for bigfonts (bigger than 8 bits width)
- No display when using TVout and Keypad libraries together
- Image is barely visible HOT 1
- ATtiny 25/45/85
- Google Code Shutdown HOT 2
- Interface 4.3 inch monitor with OBD-II Adapter to Arduino HOT 1
- Code defect?
- arabic font
- sync problems on mini pro HOT 1
- make arduino tvout initial release work into atmega32 HOT 1
- Port problem
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from arduino-tvout.