We’re rewarding the question askers & reputations are being recalculated! Read more.

Questions tagged [testing]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
1
vote
2answers
51 views

Interrupt is activated as soon as I insert a jumper wire into the port

I have written a very simple code to test the interrupt functionality of my Arduino Uno expansion board: const byte buttonPin3 = 3; void setup() { pinMode(buttonPin3, INPUT); attachInterrupt(...
0
votes
2answers
51 views

Can arduino-cli verify sketches?

I'm trying to do some simple unit testing with arduino-cli in a .gitlab-ci file like so variables: DOCKER_HOST: tcp://docker:2375 image: "docker:latest" services: - docker:dind before_script: ...
1
vote
2answers
105 views

SPI: test by connecting MOSI to MISO

Is it possible to test a SPI connection by wiring the MISO directly to the MOSI pin? I'm working on a low-level SPI implementation, and I want to check that the library is basically working. It ...
0
votes
0answers
33 views

Code Optimisation in esp32

I need to optimise my code for a real time system using a esp32. What's a simple and accurate way to benchmarks and statistics on the Arduino platform?
1
vote
2answers
444 views

How to test if PWM mode is working correcly?

I d'like to test if the PWM mode is working correctly on the pins of my Arduino Board. Do you know a simple schema to do this ?
-1
votes
1answer
932 views

Arduino Uno Wifi Module ESP8266 AT Command Test error [closed]

When i Connected Rx>Rx (Rx Of module To Pin 0 Of Arduino) And Tx>Tx ( Tx Of Module To Pin 1 Of Arduino), The AT Command Test shows The Following error With Scrambled Words, but when I Connect Rx>Tx (...
0
votes
2answers
164 views

SD test is taking long answer when it fails

I am working on an Arduino application that logs sensors values into SD files. It is essential that the SD is inserted and working when a test is started, thus I need to check the presence of the SD ...
1
vote
0answers
63 views

How to test Arduino behaviour on Windows? [duplicate]

Hello fellow Arduino enthusiasts, I created an Arduino project for a Mega2560 board in Microsoft Visual Studio. Before loading the code on the board I want to test it on my Windows desktop computer. ...
0
votes
4answers
436 views

Testing Arduino with Visual Studio Community 2013 raise LNK error

I have two projects in my Visual Studio Community 2013 solution. I created a project for Arduino, and create another project for Test. When I run the project tests without adding the Arduino project ...
2
votes
1answer
650 views

How to make universal remote controller?

I am trying to make simple TV remote using Arduino. I got this link from Google for making a remote. Code uploaded perfectly on my device. But all it does is blink a the LED on pin 13. I hope I ...
4
votes
1answer
2k views

Check contents of buffer after serial read

I would like to test the contents of data received over a serial connection. In my loop() I store the data in bffr; and afterwards I would like to test to see if there are some predefined words in it. ...
17
votes
3answers
127k views

How to check my Arduino board is working or dead?

When you have a board in your hand but you don't know is it working or not, how to verify if it's working or dead?
205
votes
12answers
368k views

Can I program for Arduino without having a real board?

I would like to start the development of some basic Arduino projects but I don't own an Arduino board yet. Is there a way I can write my code and emulate/test it using a desktop computer so after my ...
17
votes
3answers
7k views

What is the best way to unit test my code without controller? [duplicate]

I want to unit test my Arduino code. Ideally, I want to execute and test my code without uploading it to the board. What tools or libraries can help me with this? There is an Arduino emulator in ...