Show Posts
|
|
Pages: [1] 2 3 ... 17
|
|
3
|
Development / Other Software Development / KEYWORD3 in syntax coloring
|
on: February 11, 2012, 11:10:56 pm
|
Can anyone explain what the difference is between KEYWORD2 and KEYWORD3 in keywords.txt, for syntax coloring? I see that there are a few instances of these in the 1.0 release (for setup, loop, and a few Serialn keywords), but I can't find any documentation on it and don't understand the distinction that is being made. The entries for the IDE display of them in preferences.txt look like: - editor.keyword1.style=#cc6600,plain
- editor.keyword2.style=#996600,plain
- editor.keyword3.style=#993300,bold
But I don't see setup and loop appearing in that keyword3 color or in bold, in any case. It's a slightly darker brown than keyword2.
|
|
|
|
|
4
|
Forum 2005-2010 (read only) / Forum / Re: Searching Post Changed??!!!
|
on: March 12, 2010, 05:35:13 pm
|
Although Google does a fast job of searching, there are a number of things about it as a search tool in the forum that I don't care for. Since these are the days for voicing suggestions for improvements to this system, I thought I would mention a few, and see if anyone else has ideas. - Once you get search results, you are on a Google page, and no longer in arduino.cc.
This means the user has a context switch to make, since all of the forum UI conventions are gone. In fact, you have to use the BACK button in your browser to return to the forum. This is annoying although not catastrophic.
It might be better if the search results were generated in a new tab or window instead of replacing the current one.
- Printer-friendly pages are included in the search results
These are not really useful in search results, as they just duplicate other search hits from the keywords. I assume that whenever someone formats a page for printing, that it is retained and then indexed? Could they be excluded?
- You lose all forum hierarchy in search results.
It is useful when sifting through search results, to know in which forum category and sub-category the hit is located. You can probably figure it out by looking at the actual URL of the result, but this is cumbersome.
And really, you'd want to be able to sort the results by forum category so you could discard whole groups of results if a too-general search keyword got hits in many categories. Many forum search tools allow you to restrict the results to specific categories and sub-fora.
Although making fixes to some of these things might improve the searching, in my opinion the entire forum would be a smoother user experience with phpBB instead of YaBB, for example. .andy
|
|
|
|
|
6
|
Forum 2005-2010 (read only) / Troubleshooting / Re: Arduino and processing
|
on: December 27, 2009, 01:19:04 pm
|
|
The way the Arduino works is that you write a program for it, called a sketch, and then upload this sketch to the Arduino board, via the USB port on your host computer. Once loaded on the Arduino, your sketch is run every time the Arduino is reset. (It is saved in the Arduino.)
The sketch can communicate with the host computer using serial port commands over the USB connection. So, an Arduino sketch can be receiving and transmitting data (anything you want) from and back to the host computer. Conversely, a Processing sketch (or any other program running on the host computer) can be receiving/sending data to the Arduino sketch over the USB connection.
Firmata is one program that can be installed on the Arduino (without you having to write a program) that runs and does that serial port reading/writing for you. In that sense, it is "dumb," since it doesn't do anything but the serial communications.
|
|
|
|
|
10
|
Forum 2005-2010 (read only) / Troubleshooting / Re: How to know when your program becomes to big
|
on: September 09, 2009, 09:55:00 pm
|
|
It's a good point.
I had the same problem recently and resorted to successively commenting out pieces of code to figure out what was causing the problem. Finally I realized it was a big array that was the culprit.
When you are used to writing software for target environments like personal computers with virtual memory, it takes a mindset adjustment to adapt to the embedded system with highly constrained resources.
|
|
|
|
|