Pages: 1 [2]   Go Down
Author Topic: starting the Windows media player from the UNO?  (Read 2762 times)
0 Members and 1 Guest are viewing this topic.
ottawa, canada
Offline Offline
God Member
*****
Karma: 6
Posts: 990
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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
.
Logged

Seattle, WA USA
Offline Offline
Brattain Member
*****
Karma: 601
Posts: 48543
Seattle, WA USA
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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.
Logged

Brampton, Ontario
Offline Offline
Full Member
***
Karma: 0
Posts: 112
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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.
Logged

ottawa, canada
Offline Offline
God Member
*****
Karma: 6
Posts: 990
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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.
Logged

Brampton, Ontario
Offline Offline
Full Member
***
Karma: 0
Posts: 112
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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

Offline Offline
Newbie
*
Karma: 2
Posts: 38
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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.

Logged

Pages: 1 [2]   Go Up
Jump to: