Tagged Questions

Arduino is an open-source electronics prototyping platform.

learn more… | top users | synonyms

0
votes
0answers
5 views

arduino ADK + android LED blink example compiling errors

I'm trying to make a project using the arduino ADK board http://arduino.cc/en/Main/ArduinoBoardADK and a Sony Ericsson Xperia Play running android 2.3.4. For starters all I want to do is blink a led ...
0
votes
0answers
27 views

Arduino EthernetServer receiving unexpected values from Python client

I'm attempting to talk an Arduino with an ethernet shield from a Python client. I'm getting (what seem to be) junk values on the Arduino server side as soon as the Python client tries to connect. I ...
1
vote
1answer
32 views

Setting a port in Python 2.7.2 to work with Arduino Uno

I am working on a laser cutter/engraver, part of the Lasersaur open source laser cutter/engraver project. I completed the hardware build not realizing that there was some software programming ...
2
votes
1answer
33 views

No matching function error when using attachInterrupt

I'm having a little error with my latest Arduino project code which uses the TimerOne library to display numbers on a 4 digit, 7 segment display. I use an interrupt to make the microprocessor ...
1
vote
3answers
52 views

Serial Communication in Background Thread

Quick question concerning communication between arduino boards and a c# winforms application. Basically what I did so far is something like _serialPort = new SerialPort(); ... _serialPort.Open(); ... ...
2
votes
1answer
34 views

Arduino map() method - why?

I was just looking at some example code and came across a line, I don't fully understand why it needs to be done. I understand that you are taking in an analog value. This value is between 0 and 1024 ...
0
votes
3answers
30 views

Arduino making decision according to a packet received from serial port

The program listen to messages from serial port in the form or where first character (A or D) means analog or digital, the 2nd character - pin, the 3rd character - 1/0 or from 0 to 255. The markers ...
0
votes
1answer
38 views

Arduino code to write and send at the same time simultaneously

I am working a graphical blocks for Scilab (software similar to MATLAB) simulation environment. There should be blocks called AI (analogue input), AO, DO. Also, there will be two programs: 1) on the ...
0
votes
0answers
44 views

Arduino code compiles both on Eclipse and on AVR Studio 5, but only Eclipse version is functional

I'm trying to choose an IDE for arduino development. I installed both Eclipse and AVR Studio 5. And configured them using the instruction on the Arduino site (for Eclipse) and those two tutorials (AVR ...
1
vote
2answers
61 views

Monitor 6 analog input pins on Arduino

I am writing a code for Arduino. What it should do is: It has to Monitor 6 analog inputs and if there is any activity on any of them, send (number of active pin + value on its pin) via serial ...
1
vote
0answers
53 views

Arduino as xcos block

I am developing an interface between Arduino microcontroller and Scilab (analogue of MATLAB) simulation environment. How I see it: A graphical block representing Arduino in Scilab. It will have 6 ...
1
vote
1answer
47 views

Arduino - Optimising existing method for iterating through an array

Is there a more efficient and cleaner way of doing what the following method is already doing? void sendCode(prog_uint16_t inArray[], int nLimit) { unsigned int arr[nLimit]; unsigned int c; ...
1
vote
1answer
38 views

Subtraction and fabs working, then not working as program runs

O.K., I'm going nuts trying to figure out what's going on. I've got a case statement in the main loop (state 6 refers to the case in the sample output below). For awhile, things work fine, then I ...
2
votes
1answer
31 views

Arduino Sketch - Object in header file not containing any values

I have the following in Codes.h, which I access by clicking on the tab within the Arduino Software. So I know the sketch is being loaded properly with the header file. #ifndef __CODES_H__ #define ...
0
votes
1answer
33 views

Constrain function port from Arduino

I'm now porting arduino code to stm32(c/c++). Please help me with this function: constrain(x, a, b) Returns x: if x is between a and b a: if x is less than a b: if x is greater than b Example ...

1 2 3 4 5 33
15 30 50 per page