Loading...
  Show Posts
Pages: [1] 2 3 ... 13
1  Using Arduino / Programming Questions / Re: Class to help debug how long code takes on: May 11, 2011, 02:15:35 pm
Wow, haven't been here for a long time. Start browsing for a clue to figure out how long a function takes and crash right into this.

Thanks, really useful!
2  Forum 2005-2010 (read only) / Troubleshooting / Re: Attempted LCD tutorial on: March 01, 2008, 03:26:14 pm
I didn't bother to search for it. But if I am right, in liquidcrystal.cpp you need to change the uint8_t into int. The info should be somewhere in the forum.
Ok, did the search for you:
http://www.arduino.cc/cgi-bin/yabb2/YaBB.pl?num=1200450329;start=all
http://www.arduino.cc/cgi-bin/yabb2/YaBB.pl?num=1189780631
3  Forum 2005-2010 (read only) / Troubleshooting / Re: Tut's on basic c for arduino? on: December 13, 2007, 04:31:22 pm
Quote
lets take for example the piezo tone maker, what the hell is that about?! i put it on my ardiuno program and tried to uplaod, but it had a bagillion syntax errors, am i missing something, why isint it just going to the arduino and working?

I haven't got an arduino next to my computer but it verify's just fine, no error at all. Did you notice there are 2 programs on the page? How does it look after an autoformat? Does it look alright? You might have missed the first character of the commentblock: /  Or the last } might be missing?

This is frustating,  I know, I had to learn too.
4  Forum 2005-2010 (read only) / Troubleshooting / Re: Tut's on basic c for arduino? on: December 13, 2007, 04:06:58 pm
But what is wrong with the tutorial page then?
Arduino is about hardware and software. So, an "hello world" for arduino is something like blinking 1 led. You take it from there. Yes, it is hard sometimes, but what it takes is practice. Improvise on the existing examples, try small changes.

Use the autoformat so your code stays somewhat readable. If something works and you want to try big changes, save the current file and start in a new copy. If things go wrong, you can always look up how it worked earlier.

But in the end, it just takes practice and time. And if you really can't figure it out, post your questions to the forum.
5  Forum 2005-2010 (read only) / Troubleshooting / Re: Arduino BT and the basics on: November 26, 2007, 04:36:39 pm
There is a topic about getting into command mode with the escape sequence. It also has some example code. I don't know the topic title but use google to search the forum. The  forum search doesn't always return all results.
6  Forum 2005-2010 (read only) / Troubleshooting / Re: call command doubts on: October 23, 2007, 05:58:39 am
Have you read the WT11 userguide? And have you read it again? And again?  smiley

For starters I would try to troubleshoot on a pc or mac, whichever you use, instead of a pocketpc. If the arduino BT is running you will be able to initiate a connection from the computer. Did you already pair the BT with your system? Oh, of course, otherwise you wouldn't be able to program.
What happens if you open the serial connection from the pocketpc to the arduino BT? If that doesn't work then it will not work the other way either.
Skip the CALL function for now, get it working manually first.

As I have said in another thread of yours, autoconnect does work. Unfortunately I can't find my code at the moment. My svn repository is a bit of mess and I am not sure if I have committed the code. I hope to find the code tonight, otherwise I'll have to figure it out again.
7  Forum 2005-2010 (read only) / Troubleshooting / Re: interruptions for arduino bluetooth on: August 23, 2007, 02:25:39 pm
I am not sure what you want exactly and if you need interrupts for that. But in the loop you can check if there are bytes in the serial buffer with Serial.available(). this returns the number of bytes in the buffer which you can read with Serial.read. If the buffer is empty, nothing happens, only loop is running.  If there is something in the buffer, you can call a function depending on the value that you read.
8  Forum 2005-2010 (read only) / Troubleshooting / Re: start and stop intervall - please help! on: July 04, 2007, 01:26:48 pm
If you are in the interval function you don't read the stop button. So, you can never stop the interval function. You can try to use interrupts, read about in the reference.
9  Forum 2005-2010 (read only) / Bugs & Suggestions / Re: Ideas for Arduino 0011 on: November 05, 2007, 02:19:06 pm
Why not use a Makefile and compile from textmate? Have you seen this topic?
10  Forum 2005-2010 (read only) / Bugs & Suggestions / Re: analogsensor input don't work in ext alimentat on: September 26, 2007, 06:40:50 am
This is wrong:
digitalWritebyte0,HIGH);
but this shouldn't even compile.
I guess that you mean power supply with alimentation? Didn't you forget the jumper for the external power supply?
11  Forum 2005-2010 (read only) / Bugs & Suggestions / Re: terminal commands on: March 30, 2007, 02:05:48 pm
Quote
I just meant a proprietary command that would clear the screen in the Arduino serial monitor...  
but perhaps that would not be such a good idea, given what has been said above!

Just in case you didn't understand: I meant the application "screen", the terminal window manager:
http://www.gnu.org/software/screen/
12  Forum 2005-2010 (read only) / Bugs & Suggestions / Re: terminal commands on: March 30, 2007, 12:47:12 pm
'\r' works when I use "screen" as a terminal. But I would have preferred the serial monitor.
13  Forum 2005-2010 (read only) / Bugs & Suggestions / Re: terminal commands on: March 30, 2007, 10:27:37 am
I just tried the Serial.print('\r') but it doesn't work in the serial monitor. As if the "\r" is ignored.
14  Forum 2005-2010 (read only) / Syntax & Programs / Re: Doesn't serial.available return buffer size? on: March 07, 2008, 07:01:31 am
Maybe you need a delay after the first serial.available? It could be that the buffer isn't completely filled when you get to the next serial.available.
15  Forum 2005-2010 (read only) / Syntax & Programs / Re: Help: serial portname on: November 04, 2007, 02:16:15 am
You can only open the port once. If you want to open it in processing, make sure the serial monitor is closed in the arduino IDE.
Pages: [1] 2 3 ... 13