Go Down

Topic: starting the Windows media player from the UNO? (Read 3390 times) previous topic - next topic

bill2009


Quote
Where can I find info about "Hardware features" like the internal resistor, i guess it is not the only hardware feature on the board?

Start here: http://arduino.cc/en/Main/Hardware
Pick whichever board you have, and read all the details, even if you don't think you will use them (yet).


I still don't quite believe this but the documentation for 1.0 sounds like the pullups are *not* active for pinMode(INPUT). This would break a lot of my http://arduino.cc/en/Reference/PinMode
.

PaulS

Quote
I still don't quite believe this but the documentation for 1.0 sounds like the pullups are *not* active for pinMode(INPUT).

They are not active by default. They can be activated, using digitalWrite(). Or, the call to digitalWrite() is made for you if you use the type INPUT_PULLUP.

I think that the "disabled" in that sentence refers to the fact that there is now a call to digitalWrite() in the pinMode() function. It is called with HIGH or LOW based on the use of INPUT_PULLUP vs. INPUT.

A peak at the code confirms this. The digitalWrite() function isn't actually called, but the equivalent register manipulations occur.

nate890

I'm on windows 7, and the example code from here http://electronics.divinechildhighschool.org/Home/Arduino-Lessons/using-gobetwino-to-control-windows-through-arduino doesn't seem to work -iTunes doesn't even seem to open.

bill2009


Quote
I still don't quite believe this but the documentation for 1.0 sounds like the pullups are *not* active for pinMode(INPUT).

They are not active by default. They can be activated, using digitalWrite(). Or, the call to digitalWrite() is made for you if you use the type INPUT_PULLUP.

Whew, thanks.

I think that the "disabled" in that sentence refers to the fact that there is now a call to digitalWrite() in the pinMode() function. It is called with HIGH or LOW based on the use of INPUT_PULLUP vs. INPUT.

A peak at the code confirms this. The digitalWrite() function isn't actually called, but the equivalent register manipulations occur.

nate890

Is there any reason that this doesn't work for Windows 7? I would really like to use Gobetwino.

lydfanger

Try, when you have uploaded the Sketch to the arduino, restart you Windows 7 with you Arduino connected to your PC. Then start the "Gobetwino".
I had the same problem, but after a restart of the PC, it seems that the computer and arduino had found each other.
I know it's sounds strange, but it works for me.


Go Up