Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 4060

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

$
0
0
I tried compiling the code, but I was encountering a hardfault
Hardfault on compile ? Which one.

I check it again and it's compile ok

Code:

daniel@benchpi4:~ $ git clone https://github.com/danjperron/picoADC_UDPdaniel@benchpi4:~ $ cd picoADC_UDP/daniel@benchpi4:~/picoADC_UDP $ cd picoADC_USB/daniel@benchpi4:~/picoADC_UDP/picoADC_USB $ mkdir builddaniel@benchpi4:~/picoADC_UDP/picoADC_USB $ cd builddaniel@benchpi4:~/picoADC_UDP/picoADC_USB/build $ cmake ..daniel@benchpi4:~/picoADC_UDP/picoADC_USB/build $ make
Did you setup the C-SDK correctly?

Once you transfered the uf2 to the pico the device for the pico usb should be /dec/ttyACM0

Just do

Code:

cat /dev/ttyACM0
And it should echo blocks of characters all the time.

Statistics: Posted by danjperron — Tue Feb 13, 2024 12:15 am



Viewing all articles
Browse latest Browse all 4060

Trending Articles