Arduino is an open-source electronics prototyping platform.

learn more… | top users | synonyms

0
votes
0answers
2 views

Serial port of arduino hangs with eclipse

I have installed tm +rse and the rxtx plugin for terminal communication with eclipse and arduino.I used juno and indigo.I have installed the latset ftdi drivers .I am using OSX. Everytime i try to ...
0
votes
1answer
7 views

Unreachable code Processing arduino communication

i am trying to do communication between arduino/wiring to processing and make 2 objects move with 2 joysticks. this is the method i use for the comunication public PVector serialEvent(Serial ...
0
votes
1answer
16 views

Arduino & C: put a function and global variable in external file

This should be a simple problem. I'm trying to split up code into two files within a sketch: test.ino: void setup(){} void loop(){ fn(); } test.c: char myChar = '?'; void fn(){ myChar++; } I've ...
0
votes
1answer
13 views

reading distance from ultrasonic via serial port and show it on c# textbox

i am trying to read the distances from ultrasonic on Arduino Uno and showing it on text box on my WindowsFormApplication but it read's only 1 value and i want it to keep reading an displaying the ...
0
votes
2answers
22 views

Arduino Serial communication output

I have 2 Arduinos Leonardo and I want them to communicate itself, so I did the following code: void setup() { Serial.begin(1200); Serial1.begin(1200); } void loop() { String outMessage = ""; ...
0
votes
0answers
24 views

How to embed Processing in Android

I was trying to embed Processing in Android. I cannot create a new Android application with Processing. I can create Processing with a Java applet, but I would like to include it in an Android ...
0
votes
2answers
56 views

Best book for interacting directly (in the C language) with a simple CPU [closed]

The original idea was to interact with an Atmel AVR chip using C with an Arduino. However, I have had difficulty finding a resource for doing this. Are there any books that can be recommended for ...
0
votes
2answers
39 views

What kind of 'for' loop is this?

My friend gave me this Arduino code: int button; void setup(){ pinMode(12, INPUT); } void loop(){ for(button; button == HIGH; button == digitalRead(12)) { //This line //Do something ...
2
votes
0answers
32 views

Arduino monitor working together with PHP

I've finally got all the sensors working, sending data into text files, etc., but I've got a problem with PHP. I can connect to Arduino with a PHP-based website. I can turn an LED on or off. But I ...
3
votes
1answer
32 views

Arduino and PHP via Serial incomingbyte read

I've got PHP script for control Arduino's diode via website, but I've got a problem. My Arduino code is: int green = 8; int incomingbyte; void setup() { Serial.begin(9600); ...
0
votes
1answer
15 views

Arduino client read crlf from http (strip header)

I'm playing with arduino's wifi shield and trying to strip http header out by searching for CRLF (\r\n) in my loop(). while (client.available()) { char c = client.read(); // I ...
0
votes
2answers
37 views

Converting String style from Arduino to C common style

I have the following code void loop() { String outMessage = ""; // String to hold input while (Serial.available() > 0) { // check if at least one char is available char inChar = ...
0
votes
1answer
28 views

Python reading from Arduino script still not working

iIve asked you few weeks ago about solution on my python's scripy problem. I just started my project again, and still got a problem. My Arduino is working fine, command sudo screen /dev/ttyACM0 is ...
1
vote
1answer
20 views

Arduino development with embedXcode in Xcode

I've been recently using embedXcode for some Arduino related projects. Those who are familiar to arduino knows that code sense is not an option u can get in the arduino IDE. thats why embedXcode gives ...
0
votes
0answers
69 views

Arduino Leonardo stuck [duplicate]

I accidentally uploaded some code without any mention to void loop() { } or void setup() { } As a result I uploaded it as: int main(void) { ... while(1) { infinite loop } } Now I ...

1 2 3 4 5 132
15 30 50 per page