Show Posts
Pages: 1 ... 404 405 [406] 407 408 ... 580
6076  Development / Suggestions for the Arduino Project / Re: Arduino 1.0 beta Serial.flush() ?? on: August 04, 2011, 08:40:10 pm
Quote
flush() now waits for the output buffer to empty.
That's ludicrous, interrupts or no interrupts something called "flush" should do just that, and I see no reason it shouldn't.

I can see a good reason for a function that waits until the buffer is empty, but it should not be called "flush" especially when it overloads an old function with the same name but totally different functionality.

______
Rob
6077  Development / Suggestions for the Arduino Project / Re: Arduino 1.0 beta Serial.flush() ?? on: August 04, 2011, 07:12:23 pm
That seems pretty strange, how would it ever return if no chars are received? And if chars are received you'd have to wait for the buffer to fill.

That can't be right.

The old flush did this

 _rx_buffer->head = _rx_buffer->tail;

______
Rob
6078  Community / Bar Sport / Re: (yawn) on: August 04, 2011, 06:55:15 pm
Quote
Someone mention cat doors and overkill?
"Flo control" I love it smiley

That's gotta be the smartest cat door I've ever seen.

______
Rob
6079  Community / Bar Sport / Re: Suggest to a neon sign company. on: August 04, 2011, 09:44:42 am
Quote
Would it even be worth spending the money.
Well not to me it wouldn't. How are we supposed to know if it's worth it to you smiley

As for a company to make one, sorry I've no idea.

______
Rob
6080  Development / Other Software Development / Re: New and growing well-documented, feature-complete I2C device library on: August 04, 2011, 03:21:49 am
Quote
The Arduino MasterReader example
I'm not very familiar with i2c but like most of the Arduino examples that one is way too simplistic for general use I feel.

On the other hand there's no need to be complicated. R/W is already part of the protocol so I would think something very simple like

A read request has no data from the master. The slave just responds with what ever data it has. (Does the master need to know how many bytes?)

A write request simply sends X bytes.

I'm more used to asynch and this is the sort of thing I'd do there (with the addition of some data length info), not sure what's practical/easy for i2c but a simple transfer of N bytes is all that is required I think. Any more can be dealt with by the next level up in the application.

______
Rob
6081  Community / Website and Forum / Re: Loop Back Test - Sticky? on: August 04, 2011, 02:24:28 am
That'll teach me to open my big mouth.

Yes you have to be careful it doesn't get so complex you need a flow chart. How about

Quote
5. Connect the board to your computer.  After a brief pause Windows will produces a device-insertion tone if sound is enabled.  Linux may or may not produce a device-insertion tone; an entry is added to the system log.
_____
Rob
6082  Using Arduino / Microcontrollers / Re: Connecting 2 Arduino Cards with Serial ports ? on: August 04, 2011, 12:32:55 am
Quote
If you want to collaborate or discuss this further, I'm open to brainstorming.
You can email me. My email should be in my profile.
I do, and have done.

______
Rob
6083  Using Arduino / Microcontrollers / Re: Replacement part for FTDI FT232RL on: August 04, 2011, 12:30:09 am
I like the fact it's a SIOC, although that makes it bigger which I don't like (of course that's the point of your post smiley)

You can use a Murata resonator, so only one extra component.

No 3v3, I don't see that as a problem, that's easy enough to get from the 5v rail.

I'm happy with the FTDI chip but if you trail blaze and have no problems I could be convinced to use it.

_____
Rob
6084  Community / Website and Forum / Re: Loop Back Test - Sticky? on: August 04, 2011, 12:23:14 am
I hope I'm not splitting hairs but this is for beginners.

Quote
Windows produces a device insertion tone
Not if sound is disabled.

I'd vote for #2.

______
Rob
6085  Using Arduino / Project Guidance / Re: Automated Home Brewery on: August 03, 2011, 09:54:38 pm
That's right, I forgot about the speaker. Even better then.

______
Rob
6086  Using Arduino / Programming Questions / Re: overwrite meaning of reset button // software reset? on: August 03, 2011, 07:38:29 pm
Yes you're right, I've done this on smaller chips and thought the 328 was large enough to have a dedicated reset pin. So on a Uno etc you can, on the Mega you can't.

You do need a high-voltage programmer to get the reset (and therefore normal programming methods) back.

______
Rob
6087  Using Arduino / Project Guidance / Re: Automated Home Brewery on: August 03, 2011, 07:00:14 pm
Quote
Input
X for the touch screen
X for SD card

Outputs
X for LCD
X for SD card

Two pins for the lot if you use a 4D Systems LCD.

http://www.4dsystems.com.au/prod.php?id=113

Quote
16mhz will be plenty of processing power,
Heaps, but code space may become an issue as it sounds like there will be a lot to do.

Maybe use a Mega, heaps more IO, RAM and flash.



______
Rob
6088  Using Arduino / Programming Questions / Re: overwrite meaning of reset button // software reset? on: August 03, 2011, 06:28:28 pm
On some (small) AVR chips you can but not the ones used by Arduino.

______
Rob
6089  Topics / Education and Teaching / Re: Arduino Programming Cheat Sheet on: August 03, 2011, 06:27:09 pm
Well designed, looks good.

______
Rob
6090  Development / Other Software Development / Re: A "simple" makefile for Arduino on: August 03, 2011, 06:13:26 pm
I take it mine didn't work either. I converted it from a MAC version for Windows (Vista but that shouldn't matter).

IIRC I had to compile one sketch in the IDE to create all the core .o files and then the .a file. I could not get the makefile to compile the cores itself.

______
Rob
Pages: 1 ... 404 405 [406] 407 408 ... 580