Show Posts
Pages: 1 ... 3 4 [5] 6 7 ... 590
61  Community / Bar Sport / Re: Poll: sleeping time (ours, not Arduino's) on: August 31, 2014, 10:38:42 pm
Quote
I could swear you don't look a day over 30
Yeah I know, good living and not too much beer does the trick. Maybe I should dye the beard, that's the give away.

______
Rob
62  Using Arduino / Project Guidance / Re: Multiple SPI and I2C devices simultaneously on: August 31, 2014, 10:05:54 pm
As long as the I2C devices have different addresses (and they should) I see no limitations.

______
Rob
63  Using Arduino / Programming Questions / Re: const int and memory space on: August 31, 2014, 09:23:37 pm
Quote
So, my conclusion is that the variables const int are  not placed in the the data space memory.

Is my conclusion right?
Yes, it's little more than a better way of doing a #define

Code:
#define X 4
const int X = 4;
4

All use the same amount of memory, ie none.


______
Rob
64  Community / Bar Sport / Re: Poll: sleeping time (ours, not Arduino's) on: August 31, 2014, 09:04:52 pm
Quote
Lucky you.
It's all relative, I'm probably a lot older than you, sure I like being able to to what I like every day but OTOH I'd like to be 30 again as well smiley

I retired 15 years ago at 45 though so didn't do too bad I guess.

______
Rob
65  Community / Bar Sport / Re: Poll: sleeping time (ours, not Arduino's) on: August 31, 2014, 07:33:41 pm
Most nights I hit the sack at 2AM, I normally get up around 8AM.

I don't have to work so all days are the same to me smiley

______
Rob
66  Products / Arduino Due / Re: Communication between multiple Arduino Dues on: August 31, 2014, 04:41:59 am
Quote
SPI don't have the address info, so we have to leave each slave a pin for selection purpose, am I right?
Yep.

Quote
How about the highest speed it can achieve?
I can't find this in the data sheet but "bloody fast" can be assumed, maybe 20MHz +.

EDIT: I still can't find it spelt out but SPI slave read seems to be the slowest and that's 33MHz AFAICT.

Note that at these speeds the chips had better be pretty close together. Can you provide more information about the physical setup?

______
Rob
67  Using Arduino / Networking, Protocols, and Devices / Re: Arduino with built-in RS485: ChainDuino on KickStarter on: August 31, 2014, 01:47:47 am
I can't believe I didn't spot this project before as it's very close to my interests.

I see you got funding (plus some), well done.

______
Rob
68  Using Arduino / Programming Questions / Re: 'Beginning C for Arduino by Jack Purdum' book errors? Modified Blink program on: August 31, 2014, 12:57:48 am
^^, yep, the more lines of code I can see at once the better.

______
Rob
69  Using Arduino / Programming Questions / Re: 'Beginning C for Arduino by Jack Purdum' book errors? Modified Blink program on: August 30, 2014, 07:18:36 pm
Noooo, don't start a brace-location war smiley

BTW, that's my favourite method as well, and for the same reason.

______
Rob
70  Using Arduino / Programming Questions / Re: 'Beginning C for Arduino by Jack Purdum' book errors? Modified Blink program on: August 30, 2014, 04:47:39 pm
I would think that in this context an int would be appropriate as that's the sort of defacto "standard" for a general-purpose  counter.

______
Rob
71  Using Arduino / General Electronics / Re: 8 bit trigger for your scope or logic analyzer on: August 27, 2014, 07:28:41 pm
Me to smiley
72  Community / Gigs and Collaborations / Re: Help and get reward .... on: August 27, 2014, 07:21:32 pm
I guess you can see where we're going with this khang360nguyen, I've never been tempted but might be coerced into dropping my morals for several $1000...nah I doubt it.

$50 might be a lot to a student but it barely buys lunch these days, so quite apart from the (well articulated) problems detailed by wwbrown et al you would need to offer an amount a few orders of magnitude larger to get someone to write that code.

Look on the bright side, when (if) you pass you won't have to work for days/weeks for $50, as we don't smiley

______
Rob
73  Using Arduino / Programming Questions / Re: Efficient Way of Sending Data via Serial on: August 27, 2014, 07:11:05 pm
The serial buffer is 64 bytes in length, when that gets full any print call will block. Unfortunately there is no mechanism for changing the buffer size or indeed getting a callback when it's empty, these would be nice enhancements IMO.

So I see where you are going with the "send X bytes every 100mS" approach, but where is "data" coming from and how large is it?

You could implement your own FIFO (aka circular buffer) and make it as large as you like then run a custom print function every 100mS, but to do this you have to trick the standard .print() functions to write to your buffer or use sprintf() or trap the low-level function (putchar() IIRC).

Personally I think the serial funcs could do with an overhaul by now.

______
Rob
74  Using Arduino / General Electronics / Re: 8 bit trigger for your scope or logic analyzer on: August 27, 2014, 06:48:24 pm
Gee I haven't seen a '688 in use for about 20 (make that 30) years. smiley

Good idea though if the inputs needed for triggering do not need to be traced as well.

______
Rob
75  Using Arduino / General Electronics / Re: Best IC to pilot 4 digits 7 segment on: August 27, 2014, 06:40:46 pm
AS1108 and friends (Common-Cathode though)

______
Rob
Pages: 1 ... 3 4 [5] 6 7 ... 590