marktillotson / picospi Goto Github PK
View Code? Open in Web Editor NEWLightweight SPI library for RasPi Pico board using the RP2040
License: Creative Commons Zero v1.0 Universal
Lightweight SPI library for RasPi Pico board using the RP2040
License: Creative Commons Zero v1.0 Universal
Hi,
On a RaspberryPi PICO when I use a CPU Speed "125MHz" and configure SPI with:
PicoSPI0.configure (18, 19, 16, 17, 20000000, 0, false);
SPI clock frequency ist 20MHz, as it should be.
But if I use CPU Speed "133MHz", SPI clock frequency seems to be reduced to 8MHz !!
I would like to use highest (reasonable) CPU Speed and SPI clock frequency.
Please help,
thank you
Hello friend, your library is incredible, I have used it to create several libraries for sensors and it works like a charm. The problem is that I had to change a lot of things to make it work in Visual Studio Code, which is the most used IDE for Raspberry Pi Pico. I have the files here and I would be happy to send them to you so you can include the changes so I don't have to fork and that's just for these details. Basically I replace the "byte" data types with "uint8_t" since they are identical and Pico's stdlib does not have the byte typedef, also I remove the includes of "Arduino.h"
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.