Questions tagged as 'arduino'

1
answer

Save two-dimensional array into EEPROM memory

I'm doing a program for Arduino written in C ++ to turn on and off leds when a button is pressed. I want to save the values of the LEDs that are on and the amount of brightness in an EEPROM memory. I thought of using an array, so the first el...
asked by 08.08.2014 / 16:33
1
answer

What is this Arduino code doing?

I need a description of what it does. if( ! digitalRead(sensor1)) { speed1 = frente; speedv1=0; } else { speed1 = 0; speedv1 = voltar; }     
asked by 27.08.2018 / 21:56
1
answer

How do I retrieve the current date of a MySQL database on Arduino?

I am connecting to database mysql using arduino next to esp8266, wanted to know how to get current date store in a variable and then send it to the bank. I'm having trouble just getting the current date.     
asked by 20.06.2018 / 02:58
1
answer

Problems with Decode and Arduino

Hello, People I have the following code in Arduino if((digitalRead(4) != 1)||(digitalRead(5) != 1)) { Serial.print("\t"); Serial.print(analogRead(A0)); Serial.print(","); Serial.print(millis()); Serial.print(...
asked by 17.04.2018 / 05:38
1
answer

send rfid data to Mysql [closed]

How do I get the following information when the tag passes through the rfid reader: "Salvador", "Bahia"?     
asked by 16.03.2017 / 10:31
2
answers

IDE Arduino does not open in Windows 10 - JAVA error

I installed IDE of Arduino on my Windows 10 64bits and I am not able to execute: The log of debug gives this result C:\Program Files (x86)\Arduino>arduino_debug.exe Picked up _JAVA_OPTIONS: -Xms256m -Xmx512m -Xmx2...
asked by 13.10.2016 / 06:43
1
answer

Flowchart to code conversion

I'm trying to convert a sizeable flowchart to Arduino code. The flowchart is as follows: Considering your size I would feel more comfortable using the goto command as a flow control. However I have always heard that its use is a...
asked by 18.06.2016 / 10:23
2
answers

Arduino Semaphore with PWM

Hello, I created an Arduino code to represent the functioning of a semaphore, however I am also using the same code to (at the same time) send PWM signals to another device. The code is working, but I could see that the trigger control of...
asked by 16.03.2016 / 01:38
1
answer

Use C ++ variable in assembly (Arduino)

I've put an interesting code on this page . const uint8_t MachineCode[44] PROGMEM = { 0x25, 0x9A, 0x2D, 0x9A, 0x40, 0xE5, 0x5F, 0xEF, 0x6F, 0xEF, 0x6A, 0x95, 0xF1, 0xF7, 0x5A, 0x95, 0xE1, 0xF7, 0x4A, 0x95, 0xD1, 0xF7, 0x2D, 0x98, 0x40, 0xE5,...
asked by 20.03.2018 / 20:41
1
answer

Arduino Leonardo error while compiling a code for display tft 2.4 shield

When I try to compile any code for my Arduino Leonardo, the following error occurs with most of the examples of libraries I tested. (This library I tested was the only one I could think of as saying that it works on Arduino Leonardo, but the oth...
asked by 10.02.2018 / 17:29