Skip to main content
Search type Search syntax
Tags [tag]
Exact "words here"
Author user:1234
user:me (yours)
Score score:3 (3+)
score:0 (none)
Answers answers:3 (3+)
answers:0 (none)
isaccepted:yes
hasaccepted:no
inquestion:1234
Views views:250
Code code:"if (foo != bar)"
Sections title:apples
body:"apples oranges"
URL url:"*.example.com"
Saves in:saves
Status closed:yes
duplicate:no
migrated:no
wiki:no
Types is:question
is:answer
Exclude -[tag]
-apples
For more details on advanced search visit our help page
Results tagged with
Search options not deleted user 1499

The process of designing and writing source code as part of a program (or sketch) for Arduino. For questions about uploading code to an Arduino board, use the [uploading] tag instead.

0 votes
0 answers
151 views

Unable to program with AVR ISP mkII under Linux

I just got an AVR ASP mkII external programmer and I am unsuccessfully trying to program my arduino with it. All the settings in the IDE are correct. This is the error message that I am getting: avrdu …
1 vote
1 answer
142 views

Programming barebones ATMega328 with external programmer and no bootloader

I have created a circuit with a barebones ATMega328. I also have an external programmer (Sparkfun's Pocket AVR Programmer)... Now I want to program a particular sketch... When uploading a sketch, do i …
12 votes
3 answers
53k views

Functions with string parameters

Inside my main loop there is this string: String string1; I have a function that will take string1 as parameter, and use it to send this string as SMS. sendSMS(string1); This is the sendSMS() fu …
3 votes
2 answers
4k views

Concatenation of non constant character array with a string

I have an Arduino Duemilanove. I read this page on string concatenation. Yet, it didn't include my case. I have a non constant character array, that later gets a value. char clat[11]; dtostrf(gps.l …
2 votes
2 answers
8k views

appending string to char and vice versa

Some days ago i started a thread. concatenation of non constant character array with a sting I have a different question but on the same nature (string and chars) what i want is one variable (string …
1 vote
Accepted

appending string to char and vice versa

solved it. was simple actually. dont know how to do it with chars, but with strings there is the addition operator. So i converted both to string and used the + operator. char clat[10 + 20 + 1] = "La …
user1584421's user avatar
  • 1,415
2 votes
2 answers
3k views

Code flow for precission applications

This is a question about programming. Mainly about the loop() function As an example Consider code where you get data from an accelerometer, and if the Gs are high enough you do something. …