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 643

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

Arduino Not Responding During Program

the string array is too big for ram, place it in flash with the fucntion F() Serial.println(F("This string will be stored in flash memory")); also a detailed example with array with explanation cn …
Lesto's user avatar
  • 781
2 votes

How to measure total energy usage of an arduino board

There are some chip that measure current flow (like ACS714). Just be sure to buy a chip that will not fry under your load, and mount it in serie with the pump. That chip will bring an analog (but ther …
Lesto's user avatar
  • 781
6 votes

How can Arduino source code be tested automatically (continuous integration)?

Newest version of Arduino ide has a command line interface to build and upload code. But you can obviously do it by makefile and avrdude. Now, you have compiled your code BUT you need testing. As simu …
Lesto's user avatar
  • 781
1 vote

Modbus Protocol Compile Error

In your first example the error is that SERIAL_8N2 is not declared. maybe you are using an old Arduino IDE? try latest 1.0.x or 1.5.x in the second case TOTAL_REGS_SIZE is a pointer to int, while the …
Lesto's user avatar
  • 781
1 vote
Accepted

How to return a message when calling by a TCP connection?

I'm assuming that you are using an Ethernet shield, as nothing about this is stated. But solution is really similar between many network solution. Once a TCP connection has been established, it can b …
Lesto's user avatar
  • 781