I am attempting to use the Waveshare board on a Raspberry Pi2B+ running Bullseye. While the voltage values being read are accurate, I am having trouble setting the sample rate that I want (600 SPS). To demonstrate this, I use the code below which I based on the examples provided.
When I type in a DRate of 500+, I actually get ~60 SPS. With 100, I get ~22. With 30, I get ~7.
Do you have any idea what I am doing wrong? Looking through the other issues, I recognize that maybe 600 SPS is not possible with Python, but shouldn't I at least be able to get up to 100?
I am attempting to use the Waveshare board on a Raspberry Pi2B+ running Bullseye. While the voltage values being read are accurate, I am having trouble setting the sample rate that I want (600 SPS). To demonstrate this, I use the code below which I based on the examples provided.
spsTesttxt.txt
When I type in a DRate of 500+, I actually get ~60 SPS. With 100, I get ~22. With 30, I get ~7.
Do you have any idea what I am doing wrong? Looking through the other issues, I recognize that maybe 600 SPS is not possible with Python, but shouldn't I at least be able to get up to 100?