The coding-standards tag has no usage guidance.
0
votes
0answers
38 views
Arduino 1.6.X on NetBSD/FreeBSD
I run arduino-mk 1.0.1 and would like to know if someone has had any luck getting 1.6.X working on NetBSD/FreeBSD. If I understand correctly, its core is java, and I can run most java programs. Are ...
0
votes
0answers
223 views
Help me How to use DALI protocol with Arduino (Mega 2560)
I'm new to this forum, but like many of us, doing project by project with Arduino, we need some help here earlier or later... So here I'm, and I hope you could help me with this.
First of all, I'm ...
0
votes
2answers
59 views
Altering SoftwareSerial to transmit more than 1 byte at a time
I am trying to create a stable communication channel without any mis-synchronization. In the SoftwareSerial library, the write function transmits one byte at a time. The mis-synchronization occurs ...
1
vote
0answers
54 views
Encoding clock signal into linear block codes
In the VirtualWire library, it is possible to encode the clock signal as the library is doing with 4b/6b coding. This is possible because VirtualWire uses convolutinal coding, where the information is ...
0
votes
2answers
123 views
Is RX1 and TX0 the same thing as TX and RX? Will there be a difference in the way I program it?
I have an Arduino.
I'm not sure if RX1 and TX0 the same thing as TX and RX? Will there be a difference in the way I program it?
For example, do I treat RX1 and TX0 as RX and TX in the Arduino IDE ...
-1
votes
1answer
65 views
How to send a group message to multiple receivers using GSM900 and Arduino Mega2560?
I'm working on a project and it can send to one receiver only. What I need is to send a message to multiple receivers. I need a code sample that would satisfy my needs. Please help! I need to finish ...
0
votes
2answers
94 views
SD card and Arduino
Good day! I need help regarding the use of SD card on Arduino. I need to store some recorded music and I want the Arduino to process it. Do I need to add some module? And circuitry? Libraries and code....
-1
votes
2answers
312 views
SD Library writing char in a file
I'm trying to write into a file using this code from the example of the library:
String dataString = "";
int sensor = 0;
dataString += String(sensor);
dataString += ",";
sensor +=1;
File dataFile = ...
0
votes
1answer
454 views
coding standards for bigger projects
I'm starting a decently sized project around arduino/ATMELavr, and I came to wonder if there are any commonly accepted C/C++ coding standards or style guidelines specifically aimed at embedded C++/...
1
vote
4answers
575 views
Do Arduinos meet military standards?
Do Arduinos meet military standards?
If not, where does it fall short? Is it something internal to the chip which might be corrected via external circuit? How could I evaluate the potential of a ...
14
votes
2answers
15k views
Is it better to use #define or const int for constants?
Arduino is an odd hybrid, where some C++ functionality is used in the embedded world—traditionally a C environment. Indeed, a lot of Arduino code is very C like though.
C has traditionally used #...