TriGotoRam / arduino-tvout

Automatically exported from code.google.com/p/arduino-tvout
0 stars 0 forks source link

PS2 library #33

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Hi there,
I'm trying tvout in combination with the ps2 library. I'm pressing the "a" on 
the keyboard but get other chars.
See enclosed Video and Sketch. Any help appreciated.
Thanks
debain

Original issue reported on code.google.com by r...@group.li on 4 Mar 2011 at 7:12

Attachments:

GoogleCodeExporter commented 9 years ago
Ok, now I know a bit more:
The example Sketch NTSCSerialTerminal isn't working on my arduino uno. See 
attachment.

Original comment by r...@group.li on 4 Mar 2011 at 9:30

Attachments:

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. 
set up TVout, this step works, I am able to run the examples, and they work fine
2. 
Set up PS2keyboard library, this works, I ran teh example and it works fine.
3. 
Mix TVout and PS2Keyboard, when I did this, I got problems.
 I went ahead and combined TVout and PS2Keyboard libraries, but they seem to clash with each other, they work,  but weird things happen  on the TV   there is a glitch whenever I press a key, and on the keyboard there is sometimes wrong keystrokes detected... they both work well indivisually here is my combined code http://pastebin.com/caVhZQcT

What is the expected output? What do you see instead?
each key I type on the keyboard should just appear on the screen,  but instead 
sometimes wrong characters appear. and also there is a glitch on the TV 
everytime I press a key.    also, since I am logging everything to the serial 
port, I can see that the PS2Keyboard library is failing to recognize the 
characters when mixed with TVout.

What version of the product are you using? On what operating system?

I am using TVoutBeta1 uploaded to arduino uno  from a windows computer

Please provide any additional information below.

 I went ahead and combined TVout and PS2Keyboard libraries, but they seem to clash with each other, they work,  but weird things happen  on the TV   there is a glitch whenever I press a key, and on the keyboard there is sometimes wrong keystrokes detected... they both work well indivisually here is my combined code http://pastebin.com/caVhZQcT

Original comment by usmpa...@gmail.com on 20 Sep 2011 at 5:29

GoogleCodeExporter commented 9 years ago
It sounds like the PS2 library uses interrupts which it cannot do.

Original comment by mdmetzle@gmail.com on 25 Jun 2012 at 1:39

GoogleCodeExporter commented 9 years ago
see issue 38 for what was done to get this working.

Original comment by mdmetzle@gmail.com on 25 Jun 2012 at 1:42

GoogleCodeExporter commented 9 years ago
Hi,

thank you for the reply. As a short information:
I feel like the main problem has nothing to do with the ps2 library 
directly, i also didn't get the example patch "NTSCSerialTerm.pde" 
working. See video in Comment 
http://code.google.com/p/arduino-tvout/issues/detail?id=33#c1
But it is possible that both, the ps2 and the serial libraries are using 
interrups. So I accept the fact that it is not going to work (I don't 
want to use two arduinos as shown in Issue 38 - or correct me if i 
understand something wrong).
Never mind - i was just playing with this super cool library. Thank you.

PS: A retro computer as shown in issue 38 would be very cool, i had the 
same goal. But I tried to combine TVOut, PS2 and bitlash 
(http://bitlash.net). Bitlash in combination with TVOut is working and 
Bitlash in combination with PS2 is working but not all three together!

Original comment by r...@group.li on 25 Jun 2012 at 9:59