Category : arduino-uno

#include <CustomStepper.h> #include <Ultrasonic.h> //Here I added 2 libraries CustomStepper stepper1(4,5,6,7); CustomStepper stepper2(8,9,10,11); //Here I connected ports for stepper motors.I have 2 of them int example1 = 1; int example2 = 1; Ultrasonic ultrasonic(12, 13); //I connected the subscriber to ports 12.13 int distance; void setup() { Serial.begin(9600); stepper1.setRPM(10); stepper1.setSPR(2075.7728395); stepper2.setRPM(10); stepper2.setSPR(2075.7728395); } void loop() ..

Read more

I am currently troubleshooting a code in Arduino for a temperature and humidity project. There is a line in the void setup(), Serial.println("Feather LoRa TX Test!");, which keeps popping up. My ideal code is to run that particular line once in the output and that will be it. However, the current code keeps repeating that ..

Read more