Show Posts
Pages: [1] 2 3 ... 21
1  Community / Bar Sport / This guy uses arduino tech on: July 27, 2014, 11:37:31 am
good advertisement for arduino

2  Using Arduino / Installation & Troubleshooting / Re: I killed the USB serial connection on: July 27, 2014, 09:06:15 am
Device can't be found in the device manager or terminal. So it is a usb problem.
My computer can see my other working boards. I guess it goes in the trash. I can salvage the 328.
3  Using Arduino / Installation & Troubleshooting / Re: I killed the USB serial connection on: July 24, 2014, 07:09:06 pm
I definitely killed the connection.  I tried different cables and computers. They see a working uno I have fine.
Just wondering if it's fixable by replacing some component.

It still works but can't upload new  code.
4  Using Arduino / Installation & Troubleshooting / Re: Arduino driver software does not automatically install when device is plugged in on: July 22, 2014, 08:38:02 am
it's documented here
5  Using Arduino / Installation & Troubleshooting / I killed the USB serial connection on: July 21, 2014, 08:27:06 am
I confirmed that the USB port does provide power to the arduino but the desktop can't  find the  board.
It's an uno. Is there a way to fix it? Just for fun where do I check for shorts?
6  Using Arduino / Programming Questions / Re: I'm having trouble getting my stepper motor to turn once every hour on: July 13, 2014, 11:00:50 am

If you need an accurate time, you'd need to install an RTC / clock. Time on the arduino will drift.
7  Using Arduino / Programming Questions / Re: How can Serial.print() affect my sketch's logic? on: July 13, 2014, 07:16:53 am
Don't print non alpha numerical characters. It's a known bug

    Serial.println("*** Hey you didn't pay ***");
8  Using Arduino / Programming Questions / Re: Void Setup on: July 12, 2014, 05:08:44 pm
there are two type of functions, one that returns a value and one that doesn't. By return, it means when you call the function it returns a value like so.


void loop() {
      myValue = multiplyFunction(4,5);  // myValue will equal 20

int multiplyFunction(int x,int y) {    // x & y are declared as integers.
     int result = x * y;               // x = 4 and y = 5 are passed into the function in the parameters
     return result;                    //returns the value where it is called

Notice the int datatype is in place of the void. That means this function is returning an integer.
When you write a function that doesn't return a value, you put the word void in front.  So that's why void is used in front of loop() and setup()/
9  Community / Bar Sport / Re: Australian ebay seller! on: July 10, 2014, 08:04:54 pm
it says $14.99 now.
10  Community / Bar Sport / Re: The Cracked Pot on: July 09, 2014, 09:21:04 pm
Pots can't talk.
11  Community / Bar Sport / Re: Apple swift on: July 08, 2014, 10:05:10 pm

if( int x = 1 )

Dunno about swift, however, C++ will return false if 0 was assigned.

In swift an int 1 and 0 can't  represent true and false respectively. Only Boolean values.
12  Using Arduino / Programming Questions / Re: Libraries on: July 07, 2014, 08:34:13 pm
It's a way to organize and reuse code, that's all.
13  Community / Bar Sport / Re: Apple swift on: July 06, 2014, 02:08:13 pm
Oh btw, the datatype on variables are assumed like

var x = 1
The compiler assumes x is an int since you assigned it an integer but you can you can manually do it too.

var x: Int = 1
14  Community / Bar Sport / Re: Apple swift on: July 06, 2014, 12:48:06 pm
In swift you can do
if var x = 1


if let x = 1 //let is const in C
and that would be legal. I'm not sure how declaring the variable in the if condition works but that's legal.

I guess declaring a variable in the condition would be an automatic true?
15  Using Arduino / Programming Questions / Re: having some error in load image from SD card into arduino HTML on: July 05, 2014, 07:11:14 am
Get rid of the serial print. You don't need to print the entire file to know if things work.
Check out this tutorial.

He uses Ajax to contol the arduino.
Pages: [1] 2 3 ... 21