Comments (1)
Hi there! I just tested this on a Pico W, and it appears to work with the hardware serial example (haven't tested software serial, but hardware is arguably better anyways). Just need to make sure you specify the correct UART bus and pins for your project:
Take a look at the Function Select table of the RP2040 datasheet (Table 278, page 237 as of writing). The F2 column specifies which pins and UART bus can be used with each pin (only some pins support TX and RX). Assuming you're using Earle Philhower's arduino-pico core, UART0 and UART1 correspond to Serial1
and Serial2
respectively.
So to get it working, first figure out which pins you want to use. Then open the hardware serial example (under the Advanced folder) and replace all instances of Serial5
with Serial1
or Serial2
(depending on which pins you're using, I'm just going to call it SerialN
for here on). Then before SerialN.begin()
(line 118), add SerialN.setTX()
and SerialN.setRX()
, and pass in the pin numbers you want to use.
For example, I used pins 20 and 21 for my TX and RX respectively, which support UART1, or Serial2
. So I replaced all instances of Serial5
with Serial2
, and added the following
...
Serial2.setTX(20);
Serial2.setRX(21);
Serial2.begin(baudRate);
...
I hope this helps! Going to close this since it doesn't appear to be an issue with this library. Please feel free to reply if you're still having trouble, or reopen if you believe there really is a problem with this library. Thank you!
from sparkfun_simultaneous_rfid_tag_reader_library.
Related Issues (20)
- Using other options for startReading() HOT 3
- Examples on ESP8266 HOT 3
- Send a standard Class−1 Generation−2 UHF Select command HOT 9
- compile with Arduino MKR1000 HOT 4
- Does it have collision while reading the tags simultaneously. HOT 1
- Reading tag EPC in ASCII code is possible? HOT 2
- Setting a session HOT 1
- Problem using EPCwrite HOT 3
- FATAL error HOT 1
- Duty cycle parameters HOT 1
- Intermittent communications with M6E nano
- Module failed to respond. Please check wiring. ESP32 Serialsoftware HOT 2
- Compile Errors - Error compiling for board SparkFun ESP32 Thing Plus. HOT 3
- ESP32 seems RX is ok but not TX HOT 1
- Adding support for GS1 Gen2 untraceable command
- Cant compile expamles HOT 7
- Doesn't build: line 676 HOT 3
- TID length inconsistency HOT 8
- Reading Tag EPC in ASCII? HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from sparkfun_simultaneous_rfid_tag_reader_library.