Skip to main content

Questions tagged [testing]

Filter by
Sorted by
Tagged with
245 votes
13 answers
475k views

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 ...
totymedli's user avatar
  • 2,929
4 votes
3 answers
3k views

I have an arduino program that only does serial communications with a little bit of math, and I am writing another one to communicate with it on a second arduino. For testing purposes I was hoping I ...
bob mcgrath's user avatar
4 votes
5 answers
134 views

I am using Arduino for an IoT class (40 students). I have set up a test program to check all sensors and actuators used in the class (we need to recycle for next semester). However, I would also like ...
Lasse Berntzen's user avatar
0 votes
1 answer
31 views

I have a bunch of PulseView recordings from an existing device. Currently to verify if my Arduino handles the input properly I always use the real device. However it would be great if I could somehow ...
Cowboy_Patrick's user avatar
2 votes
2 answers
3k views

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 ...
Jonah's user avatar
  • 123
1 vote
2 answers
653 views

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: ...
mikeLundquist's user avatar
1 vote
2 answers
376 views

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(...
Foad's user avatar
  • 143
1 vote
1 answer
174 views

6 years ago, there has been a question "How to emulate Arduino on PC". Since then, probably many more Arduino emulators have been introduces. With this question, I would like to narrow the search ...
J. Doe's user avatar
  • 127
0 votes
0 answers
61 views

I have coded a fix for a major problem with the Arduino map function (in Arduino.h & arduino/avr/cores/arduino/WMath.cpp). I submitted it as a comment to map function causes huge errors when ...
brewmanz's user avatar
  • 155
0 votes
2 answers
430 views

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 ...
Etienne P.'s user avatar
4 votes
1 answer
3k views

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. ...
stUrb's user avatar
  • 351
1 vote
0 answers
81 views

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. ...
BooleanAssange's user avatar