have a look at how-to-get-the-best-out-of-this-forum
in particular
- give details of the sensors you are using?
- have you tested the sensors using seperate programs?
- upload the complete program which gave you the error - use code tags, e.g. select < CODE/ > and paste text where it says “type or paste code here”
- where did you get the program from ?
- upload a schematic showing how you wired the systems and powered it
it could be that the program you are attempting to use was implemented for a particular microcontroller and will not build on a RPi Pico - question 4 above should clarify this
avoid uploading screen images - they waste a lot of space and are impossible to copy code from - upload text using code tags