Quantcast
Viewing all articles
Browse latest Browse all 5359

General • Re: Transfer data over wifi for pico for a high sampling rate

...
use 3.3/4095 instead if you are using C or python.
Something like

Code:

 *pDst++ = ((float) *pIn++ / 4095.0f);
Of course, all this floating-point division is going to be slow on the M0+. Fixed-point numbers would probably be much faster on the RP2040, which lacks an FPU.

Statistics: Posted by carlk3 — Tue Feb 27, 2024 11:12 pm



Viewing all articles
Browse latest Browse all 5359

Trending Articles