开云体育

ctrl + shift + ? for shortcuts
© 2025 开云体育

Re: BUYING A SPARE SI5351A BOARD


 

As of Arduino 1.0.1, it is possible to enable the internal pullup
resistors with the mode INPUT_PULLUP. Additionally, the INPUT mode
explicitly disables the internal pullups.

So the digitalWrite command is no longer required, we can now do it with
just one single statement:

pinMode(FBUTTON, INPUT_PULLUP);

73, Allard PE1NWL

On Sun, May 14, 2017 16:59, Jerry Gaffke via Groups.Io wrote:
The schematic on hfsigs.com ??for the Raduino shows that the Si5351 has
3.3v pullups on the two I2C lines into pins A4 (SDA, and Nano pin 8) and
A5 (SCL, and Nano pin 9). ??You won't find those pins called out in
Allard's sketch, that happens down in the etherkit Si5351 library. ??The
dedicated I2C peripheral interface in the Nano can only use the A4, A5
pins. ?? All the other pins are called out in the main sketch, mostly in
the setup() routine. ??

Configuring a pin to be a digital input with a pullup is done something
like this:

?? pinMode(FBUTTON, INPUT)

????digitalWrite(FBUTTON, HIGH);

On Sun, May 14, 2017 at 07:31 am, Robert Ogburn wrote:




This looked like a good entry point for this question in reference to
how
raduimo configures the ArduinoMicro




Where do I find how the port pins are used and configured??? Of
particular
interest are the pull ups...

Join [email protected] to automatically receive all group messages.