Show Posts
Pages: 1 ... 9 10 [11] 12 13 ... 15
151  Development / Suggestions for the Arduino Project / Re: Really slow IDE on Win 7 on: February 28, 2011, 04:14:31 pm
Does the IDE work with W7 othervise? I tried it once and got problems. Don't ask what problems, I don't remember.
152  Using Arduino / Microcontrollers / How to check amount of free ram (and used) on: February 28, 2011, 03:55:47 pm
My project is getting bigger on a XP Pro computer. I am slowly getting worried about ram. There is nothing about this in project folders. What can I do, except clean up my project.

By the way, am I the only one who can't find a suitable forum among Arduino forums.
153  Forum 2005-2010 (read only) / Bugs & Suggestions / pinMode(ledpin17, LOW); is wrong? but no errors on: July 01, 2010, 06:51:58 am
I was probably sleeping with my eyes open and copy pasted this kind of rubbish into my code. Compiler did not give any errors.
154  Forum 2005-2010 (read only) / Bugs & Suggestions / Re: Any protocols for serial data transfer? on: June 17, 2010, 02:15:46 pm
Quote
There is no reason not to use XMODEM, KERMIT, or AX.25 on Arduino.  Or you can go all the way to TCP/IP.

As far as I know, the efforts to create more general purpose networking protocols over async serial (as opposed to file transfer protocols) (like PCNet) never really went anywhere (they were essentially overwhelmed by newer networking technology like Ethernet and SLIP.)
Ok
But is there source code for those protocols. I'm thinking something which is also used in Windows. Ethernet works, but serial bus is in every Arduino. Besides, I think those protocols should be already in the library, there are so much other sw for Arduino.
155  Forum 2005-2010 (read only) / Bugs & Suggestions / Re: Any protocols for serial data transfer? on: June 16, 2010, 01:12:45 pm
Quote
The standard serial connection is just plain serial, you can use it for whatever kind of data you wish, there are no error correction / detection protocols unless you choose to incorporate your own.  I just use a checksum if I want a bit of error detection.  It uses the same old 3 pins (and JUST 3 pins, theres nothing else...).
Those serial protocols work on serial bus(plain old). And just like with other computers, a reliable way of transferring data with Arduinos is needed.

I do not completely understand what you mean by your post, but there are two ways to handle data flow, hardware and soft. I think hardware flow control cant be used because it is hard to use and one signal is used in in Arduino programming. What I know, those (once) common protocols do not rely on hardware flow control. Data is sent in packets. But we do not need to know any details, if the transfer is handled in library.

I understand that there is no room in Arduino to receive large files, but files can be 1 byte long for instance.

156  Forum 2005-2010 (read only) / Bugs & Suggestions / Any protocols for serial data transfer? on: June 16, 2010, 07:25:48 am
I have often seen people asking how to handle binary data transfer between two computers. That is, between Arduinos and/or pcs.

I know that was solved long ago with protocols such as zmodem, xmodem and so on. With those you can transfer binary data (files) between two PCs. All you needed were three wires (tx, rx and gnd) and a free serial port.

Is there anything similar protocol for Arduino?
157  Forum 2005-2010 (read only) / Bugs & Suggestions / Re: A very long nonsense error message from compiler on: June 03, 2010, 08:31:01 am
Quote
The regex parser has issues with comments that contain comments and with comments that contain quotes.

Yep. I can see it now, expecially when I know what was wrong. That new kind of error message was not helpfull. "regex parser has issues" good to know. One comment still, my extra quote wasn't in comment
 smspalaute=gsm.SendSMS("+35phonenumber", teksti");
I though there was a problem with GMS library.
158  Forum 2005-2010 (read only) / Bugs & Suggestions / Re: A very long nonsense error message from compiler on: June 03, 2010, 08:12:40 am
I think I fixed it, this was broken
Code:
smspalaute=gsm.SendSMS("+35phonenumber", teksti");

There were an extra " because I removed a fixed text "message" and made an error.

But the error message did not help at all. That is a problem.
159  Forum 2005-2010 (read only) / Bugs & Suggestions / A very long nonsense error message from compiler on: June 03, 2010, 07:29:37 am
Now I broke it. But it is not my fault.

I was was editing and checking my program, when suddenly I got a new error message. This:
Code:
     at com.oroinc.text.regex.Perl5Matcher._match(Perl5Matcher.java)
      at com.oroinc.text.regex.Perl5Matcher._match(Perl5Matcher.java)
      at com.oroinc.text.regex.Perl5Matcher._match(Perl5Matcher.java)
      at com.oroinc.text.regex.Perl5Matcher._match(Perl5Matcher.java)
      at com.oroinc.text.regex.Perl5Matcher._match(Perl5Matcher.java)
      at com.oroinc.text.regex.Perl5Matcher._match(Perl5Matcher.java)
      at com.oroinc.text.regex.Perl5Matcher._match(Perl5Matcher.java)
      at com.oroinc.text.regex.Perl5Matcher._match(Perl5Matcher.java)
      at com.oroinc.text.regex.Perl5Matcher._match(Perl5Matcher.java)
      at com.oroinc.text.regex.Perl5Matcher._match(Perl5Matcher.java)
      at com.oroinc.text.regex.Perl5Matcher._match(Perl5Matcher.java)
      at com.oroinc.text.regex.Perl5Matcher._match(Perl5Matcher.java)
      at com.oroinc.text.regex.Perl5Matcher._match(Perl5Matcher.java)
      at com.oroinc.text.regex.Perl5Matcher._match(Perl5Matcher.java)
      at com.oroinc.text.regex.Perl5Matcher._match(Perl5Matcher.java)
      at com.oroinc.text.regex.Perl5Matcher._match(Perl5Matcher.java)
      at com.oroinc.text.regex.Perl5Matcher._match(Perl5Matcher.java)
      at com.oroinc.text.regex.Perl5Matcher._match(Perl5Matcher.java)
And so on and on. A very long message follows.

I wasn't doing anything special. The code I am editing isn't special, but a bit long, so I am not including it here now.
This is repeatable, Restarted Arduino IDE gives same error with this source file.

What could be the problem.
160  Forum 2005-2010 (read only) / Bugs & Suggestions / Re: How about a "save, verify and upload" button on: May 28, 2010, 06:17:29 am
Yep. Now I know.

Perhaps the name of the upload button should be changed, perhaps something like "verify/upload" would be better.
161  Forum 2005-2010 (read only) / Bugs & Suggestions / Re: How about a "save, verify and upload" bu on: May 26, 2010, 07:42:38 am
Thank you for your answers Lefty and Udo. Your posts have given me useful info about Arduino IDE.

It is good to know about how upload works. It is not very "industry standard", but if it works it helps.

Udo, is "undo" working well in Arduino environment. Personally I'll take any version control, if it works, that is: it works without any extra steps.
Quote
Implicit versions may be deleted any time in order to preserve space. Implicit versions should not be deleted if they are not older than an hour.
Or some other time, or numbered like save_1, save_2 and so on.

Leif
162  Forum 2005-2010 (read only) / Bugs & Suggestions / Re: How about a "save, verify and upload" button on: May 25, 2010, 12:15:25 pm
But isn't saving necessary in order get the changes registered.

That is, I'm doing my programming like this:
I edit whatever I need in the source file.
Then I save my changes. The down arrow
Compile (verify) by pressing "play" button.
Upload by pressing "arrow to the wall" button.
if(when) not working goto begin

Is the the saving not necessary.

Expesially compiling takes time, and waiting for compiler to stop is getting irritating when I have done it too many times in a row.

163  Forum 2005-2010 (read only) / Bugs & Suggestions / How about a "save, verify and upload" button on: May 25, 2010, 09:42:42 am
That is, all those three together. If errors are found just return to editor and show the error message.

164  Forum 2005-2010 (read only) / Bugs & Suggestions / Re: Java example is for Unix, what about Windows on: October 04, 2009, 02:52:43 pm
Thanks

There is also a useful info about how to install rxtx on homepage, I think. Although RXTX wepsite is a bit messy.

I have not tried your code yet, because our project is "resting" for a while, but java code is nice to have.

Is the java example code any good?
165  Forum 2005-2010 (read only) / Bugs & Suggestions / Re: Java example is for Unix, what about Windows on: September 23, 2009, 03:27:38 pm
Well, no answers.
I googled "serial communication java" and this I found. Among others:
http://en.wikibooks.org/wiki/Serial_Programming/Serial_Java
 Sun has stopped Java serial port support and those strange imports are from an other serial port library rxtx http://www.rxtx.org/.
I have not tried it, but it is promised to work.
Pages: 1 ... 9 10 [11] 12 13 ... 15