Questions tagged [registers]
The registers tag has no usage guidance.
7
questions
0
votes
1
answer
145
views
How to read and Serial.print the contents (current values) of an 8-bit register?
Currently I'm using:
ADMUX = 0b01100000; //example
for (int i = 7; i >= 0; i--) {
Serial.print(bitRead(ADMUX, i));
}
This correctly prints:
01100000
But is there a simpler way?
Before ...
1
vote
1
answer
121
views
Is there a definitive reference for the Arduino DUE?
I am looking for a reference document or documentation system that concretely relates at minimum:
Screen printed pin name/number
SAM3X8E pin number
Register number
Channel number
Port name
In my ...
0
votes
1
answer
38
views
Controlling Arduino through python
How to set the registers of Arduino through python code to vary the sampling rate of Arduino?
Can we control Arduino through python?
1
vote
1
answer
72
views
Arduino pro mini sampling rate
what are the possible sampling rate the user can set in Arduino pro mini using ADCSRA registers.
I want to set my desired sampling rate through registers, is it possible?
2
votes
0
answers
78
views
Is a PWM phase duration set with OCR1A a reliable way to communicate values to other Arduinos?
I am working on communicating 4 switch states across multiple Arduinos using only one pin. It must be as fast as conceivably possible.
Currently I have a master Arduino reading all 4 switches (...
1
vote
1
answer
84
views
Writing to partially reserved registers of sensors
I'm trying to change the range of a gyroscope I'm using and there is the following guideline:
it is recommended to mask out
(logical and with zero) reserved bits of registers which are partially ...
0
votes
1
answer
93
views
Is it possible for the Arduino's digital pin mode to flip from OUTPUT to INPUT unexpectedly?
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'...