Skip to main content

Questions tagged [pinmode]

2 votes
2 answers
863 views

I've got a LattePanda 3 Delta, which runs windows on its main processor and an Arduino sketch called StandardFirmata on its coprocessor. It's connected to a lock, which locks at HIGH and unlocks at ...
Josmund's user avatar
  • 21
0 votes
2 answers
417 views

There is probably another way to achieve what I want without connecting pins to each other, so I will explain the scenario: I am trying to build an Arduino based Enigma Machine. The cryptography is ...
Diego Dyan's user avatar
0 votes
1 answer
83 views

I have a KY-040 rotary encoder with a push button wired to an ESP8266. My objective is to be able to detect if the button is pressed or not on boot. In the below code, if I hold the button down and ...
Lachlan Etherton's user avatar
2 votes
1 answer
820 views

I am trying to have a header file to handle all my pin definitions and pinmodes. This is the header: #ifndef __HEADER_TESTER__ #define __HEADER_TESTER__ #include <SoftwareSerial.h> const byte ...
user1584421's user avatar
  • 1,435
-1 votes
1 answer
482 views

I have only one pin available and I'd need to use it both for a digitalRead and for sending serial messages (assigning it the Tx role within a SoftwareSerial). I can alternate these two operations, ...
lesath82's user avatar
  • 101
2 votes
1 answer
185 views

I have a Digispark Rev.3 Kickstarter with ATTiny85 (see pinout below) and a three pin slide switch (see example below). I want to use the slide switch to control a task running on the Digispark, with ...
emma.makes's user avatar
-1 votes
1 answer
151 views

This is a kind of an experiment, I just have a question on how Arduino ports work. Consider this sample: there is this target device that I'm trying to control with Arduino. The device uses a typical ...
Jackie Jim's user avatar
0 votes
1 answer
76 views

I am not that experienced with electronics, so this might be a silly question. But I dont know. Assume that I have connected some electronic circuit (transistors, leds, anything else) to the Arduino ...
Lemonbonbon's user avatar
1 vote
1 answer
499 views

It is possible to access the Physical Pin 93, Pin PC11 on ATSAM3X8E in Arduino Due from the Arduino IDE? I am programming a Barebone ATSAM3X8E, and it do not seems to be allocated by Arduino Due nor ...
Brethlosze's user avatar
0 votes
1 answer
223 views

I have an Arduino project (data logger intended to sample 100 samples per second for months) with firmware that is too long to post. It mostly works as supposed to, but I have a confusing issue I can'...
Vulcan's user avatar
  • 257