Skip to main content

Questions tagged [programming]

The process of designing and writing source code as part of a program (or sketch) for Arduino. For questions about uploading code to an Arduino board, use the [uploading] tag instead.

194 questions with no upvoted or accepted answers
4 votes
1 answer
122 views

Python/Arduino Beginner here... I have a DFplayer I am trying to hook to my Arduino and I want to hook it up through the regular pins instead of the RX and TX pins, but I've not been able to find ...
prestonferry's user avatar
3 votes
0 answers
93 views

I'm using an Arduino Nano 33 BLE and a L293D motor driver to control a three-wheeled RC robot. The sketch I'm using worked fine with my Uno Rev3, but I've moved to the Nano for size/weight reasons, ...
starthrow's user avatar
3 votes
0 answers
119 views

Hello I have a question on why my port is grayed out when I go to upload? I’ve watched so many YouTube videos on what’s the problem and have been trying to do everything but just nothing seems to work!...
Tommy Serluca's user avatar
3 votes
0 answers
770 views

I decided to make a pcb based on the atsam3x8e (microcontroller used in Arduino Due). For the design I copied most of the layout that I found on this site and looked at the official Arduino Due ...
Sven Onderbeke's user avatar
3 votes
0 answers
633 views

How to read from a register using software SPI, presumably shiftin()? It works using the builtin SPI library + hardware SPI. I seem to be able to write but not read using manual shiftin()/shiftout()...
user avatar
3 votes
0 answers
406 views

A few days ago, I've asked this question. Thanks to the replies I've received, I've set up a cross compile environment for Yun by following this guide. I've created a virtual machine with virtualbox ...
Nehil's user avatar
  • 53
2 votes
1 answer
115 views

I am trying to make a battery load cycler to charge and discharge a battery repeatedly for a certain amount of cycles and here is my code: bool in_charge_mode; int cycles = 0; float cutoffvoltage = 2....
risa's user avatar
  • 21
2 votes
0 answers
131 views

I have done a lot of reading and learning after previous help here and it has been great. I have uploaded and tried many iterations of my code which all worked (Assuming my code was actually good) and ...
TwitchCloud's user avatar
2 votes
0 answers
334 views

I am trying to send RF signal from Digispark Attiny 85 (this one) and receive the signal with Arduino NANO V3.0 ATmega328 (this one). Transmitter and receiver are STX882 and SRX882 (these). Library ...
Le_Peck's user avatar
  • 21
2 votes
0 answers
495 views

I am working on a project using the WSB2812B LED strip, with a ATmega644A using the MCUdude/MightyCore plug in (https://github.com/MCUdude/MightyCore). I am using Fastled 3.3.3 with Ardunio 1.8.13 on ...
Newbie's user avatar
  • 21
2 votes
0 answers
465 views

Recently, we developed the UTRAQ L100 GNSS Module base board for testing all the capabilities of the GPS receiver. https://www.elementzonline.com/blog/utraq-gps-l100-module-based-on-irnss-supported-by-...
Dhanish_Elementz's user avatar
2 votes
0 answers
1k views

I have a problem. I am using a stepper motor with 2 buttons. In my code I am trying to rotate the stepper motor clockwise while holding button1 and counter-clockwise while holding button2. To do that, ...
A. Vreeswijk's user avatar
2 votes
0 answers
192 views

#include <LiquidCrystal.h> LiquidCrystal lcd(12, 11, 5, 4, 3, 2); int ssPin = 8; int resetPin = 9; bool cntrRunning = false; int sec = 0; int min = 0; double currentMillis; void setup() { ...
Amy's user avatar
  • 21
2 votes
0 answers
82 views

First of all sorry that i dont know much about programming, most of my codes are just copy paste. And of course, i know this question has been asked before, but while using this code: #include <...
bo na fi de's user avatar
2 votes
0 answers
469 views

I started one project where i need 4 servos to control 4 grabbers jaws. i use STM32F103C8T6 with arduino IDE for programming it. The motor TZT Micro Servo 9g SG 90. First, I was playing with stepper ...
Петар Варга's user avatar

15 30 50 per page
1
2 3 4 5
13