Show Posts
Pages: [1] 2 3 ... 40
1  Development / Suggestions for the Arduino Project / Re: re-display serial monitor after upload? on: January 22, 2013, 08:58:26 am
I like it smiley
2  Using Arduino / Programming Questions / Re: Moving array variables on: April 27, 2012, 05:04:44 am
Well, I guess explicitly initializing the array is a simpler way to solve the issue.
3  Using Arduino / Programming Questions / Re: Moving array variables on: April 27, 2012, 01:24:23 am
Isn't an initialization step missing ? Something like "if numCharsReceived >=3 <code here> else <do nothing>".

Or maybe the fact that c[] has random contents is enough to cover this case ?
4  Using Arduino / Programming Questions / Re: what does baud stand for? on: April 27, 2012, 01:20:41 am
Wikipedia.
Google.

Funny as it may seem, that's becoming a common answer in everyday casual conversations too... :-)
5  Using Arduino / Programming Questions / Re: Read this before posting a programming question ... on: April 04, 2012, 02:58:13 am
Excellent!

The "what have you tried" link alone doubles the usefulness of the post. :-D
6  Using Arduino / Interfacing w/ Software on the Computer / Re: Visuall Basic serial communication on: March 19, 2012, 02:49:26 am
Sorry, can't say much unless you provide the entire Arduino and VB code...
7  Community / Website and Forum / Re: Error is sizeof code on: March 15, 2012, 03:14:02 am
I usually put something like this

Code:
#define ARY_LEN(a) (sizeof(a)/sizeof(a[0]))

whenever my code has to work wiht arrays... i.e. very often. Would't it be nice to have a similar (better worded, perhaps) macro in Arduino.h and documented in Reference ?

Just my 2 cents, anyway...
8  Community / Website and Forum / Re: Arduino web site very slow on: March 15, 2012, 03:09:18 am
Quote
It would be nice if it said "5 replies" - then I know to click on replies to see what they are. As it is, I click on it anyway (consuming server resources) just to find no-one has replied. And then, when I am away from the screen making coffee (or getting a beer) the pop-up appears telling me I have a reply, and then it goes away.

So the pop-up consumes resource (presumably for all users, all the time) for no particularly useful effect.

FWIW, I totally agree.
9  International / Generale / Re: Datalog on: February 21, 2012, 04:02:47 pm
Occhio a questa parte:

Code:
// On the Ethernet Shield, CS is pin 4. Note that even if it's not
// used as the CS pin, the hardware CS pin (10 on most Arduino boards,
// 53 on the Mega) must be left as an output or the SD library
// functions will not work.
const int chipSelect = 4;

Ho provato a leggere lo schema del tuo shield: CS è PD5, che mi pare corrisponda all'IO n. 5 della scheda UNO R3. Quindi credo che al posto del 4 tu debba mettere 5. Tutto al condizionale perché potrei aver preso un granchio :-P
10  Using Arduino / Programming Questions / Re: Stand Alone Arduino? on: February 21, 2012, 09:32:56 am
Quote
Really no need to make it this complicated with linux libraries
ù

It was just to show that a client rdbms library can hardly fit into an arduino, hence the need to have a PC bridge the gap between arduino and the db.
11  International / Generale / Re: led lampeggiante on: February 21, 2012, 07:41:25 am
Non so... Le volte in cui è comparso a me la causa si è rivelata essere la scelta sbagliata del tipo di scheda da programmare (come ho scritto sopra, tools => board), oppure l'IDE in quale modo "impallato" (è bastato chiuderlo e rilanciarlo... una volta se non ricordo male ho riavviato il PC). Finora non mi è mai capitato di danneggiare fisicamente una scheda nel tentativo di programmarla...
12  International / Generale / Re: led lampeggiante on: February 21, 2012, 07:34:36 am
Ok, vuol dire che per qualche motivo l'arduino non risponde. Ma cos'hai fatto per "bruciare" gli altri micro ?

Hai controllato bene il nome della porta seriale e il tipo di scheda selezionato nell'IDE (tools => serial port, tools => board) ?

(edit: ho postato questa risposta prima di vedere il tuo commento successivo...)

Quote
inserire il bootloader corettamente in questo chip

se il led verde lampeggia, quasi certamente il bootloader è già presente.
13  Using Arduino / Programming Questions / Re: pointers, functions, bit fields, reference, struct.. on: February 21, 2012, 07:22:17 am
An BTW, why do you pass a string as first argument ?

Code:
void editSetting(char *str, /* don't know what to put here */)
14  Using Arduino / Programming Questions / Re: pointers, functions, bit fields, reference, struct.. on: February 21, 2012, 07:20:59 am
I guess an enum and a switch/case could do the job.

Quote
Decrements what variable?

struct member perhaps ?
15  International / Generale / Re: led lampeggiante on: February 21, 2012, 07:14:19 am
pedr piacere qualcuno mi aiuta ???

Dopo soli 20 minuti già scalpiti ? Un po' di pazienza! :-)

Nel frattempo potresti fornire ulteriori dettagli sulla tua situazione, ad esempio cos'hai fatto esattamente per bruciare gli altri due chip...
Pages: [1] 2 3 ... 40