Forum Replies Created
-
AuthorPosts
-
Michael
KeymasterPerhaps you could do something like that…I haven’t done anything with IR leds before, but you could add the TV B Gone code into the clock code.
Michael
Keymasterlaurent,
Can you please send high quality photographs of the top and bottom of board to michael@nootropicdesign.com
I will look carefully at the device.
Michael
KeymasterI’m afraid you can’t do grayscale without some very significant and complex assembly. And if you want to do serial communication, you need to use the pollserial implementation in TVout.
Michael
KeymasterWhich pins? You can’t use pins that the shield uses….
The Video Experimenter uses pins 2, 6, 7, 8, and 9.December 12, 2011 at 9:01 pm in reply to: Is it possible to receive serial or softwareSerial on board? #1239Michael
KeymasterAgain, the reason you can’t use the Serial library with TVout is that the interrupts interfere. Use pollserial instead. Just replace Serial with pollserial. You will be limited in the amount of data you can send/receive, but if you have only a small amount, it works.
December 12, 2011 at 3:56 pm in reply to: Hackvision crashes when using for loop to move objects? #1237Michael
KeymasterAre you sure you allocated memory for the array you are trying to write to? If you stomp on memory, results are unpredictable….
December 12, 2011 at 1:29 pm in reply to: Possible to receive serial or softwareSerial communication? #1236Michael
KeymasterSerial communication is not possible when using video. The interrupts interfere with the video timing. The TVout library includes a polling serial implementation. See TVout documentation, and the “pollserial” implementation.
December 12, 2011 at 1:27 pm in reply to: Is it possible to receive serial or softwareSerial on board? #1244Michael
KeymasterSerial communication is interrupt driven, so it interferes with video. The TVout library comes with a polling serial implementation. See the TVout documentation on pollserial.
Michael
Keymasterwherever the compiler gives you an error on WProgram.h. Just keep correcting til it compiles.
Michael
KeymasterI still need to fix up the libraries and release them, but I’m currently overwhelmed with the xmas shopping season….
This thread: http://nootropicdesign.com/forum/viewtopic.php?f=29&t=2434
shows the simple code change to make so that Arduino code can run on 1.0. You just need to tweak the #includes in the Controllers library….
Michael
KeymasterGlad you were able to upload. You can use Arduino 1.0. They changed the wording on the boards menu, so now it’s called “Arduino Duemilanove w/ ATmega328”.
Arduino 1.0 requires some library changes for proper compilation, and I will be releasing new versions of the Controllers library this week (maybe tonight). It’s just a minor tweak to fix the #include directives.
Breakout is a good place to start. What problems are you having? Compilation problems? Just make sure you download the proper libraries and such based on what the games page describes. Let us know if you are still stuck. I’ll have Arduino 1.0 libraries out soon.
Michael
KeymasterYeah, Arduino 1.0 basically breaks most libraries. I’ll be publishing all new libraries for my products this week, but in the mean time, you can simply change the include in DigitShield.h from this:
#include "WProgram.h"
#includeto this:
#if defined(ARDUINO) && ARDUINO >= 100
#include "Arduino.h"
#else
#include "WProgram.h"
#include
#endifMichael
KeymasterYeah, the OneWire stuff depends on precise timing, and that’s why it disables interrupts. But the video also requires precise timing, so that’s the root of the problem.
The analog sensor is a guaranteed success. It will just work.
Michael
Keymaster“Hey Michael’s Kids”….thanks buddy.
Michael
KeymasterYeah, the OneWire library is messing with interrupts. Please look at the OneWire code and see if it is turning interrupts on and off. If you see lines “noInterrupts()” and “interrupts()”, comment them out. I think the communication might still work.
I’m sitting here watching you — it’s funny. I can see when you are uploading new code onto the Arduino. My kids think it’s cool, too.
-
AuthorPosts