Hi cv007!
Interesting.
Every day I am learning something new.
I'm used to programming for esp32 or esp8266.
So now using simplicity studio, everything being new to me.
I'm still understanding how everything works and watching videos on youtube.
I realized that there are few or almost no communities for this platform or this chip. I found few videos, little material.
For ESP there is a lot, this helps a lot to advance in development.
I usually have no problem with sensors or simpler issues. But now I'm having a hard time with everything haha.
I took a look at your sensor, it looks great. I can change sensor but I need a low cost sensor. That's why I've been trying to use the sensors I mentioned, they seem to have the best cost on the market and they work in a very good voltage range.
Now I'm learning what you told me, the platform and how to use the tools to simplify things for me, I'm still learning how it all works. Examples help a lot. The documentation too.
I found a github with the code made by the sensor manufacturer BME280, but it will be a challenge to use it. There are many functions to be able to read the sensor =(
https://github.com/BoschSensortec/BME280_driverYou noticed that I was trying to transcribe an Arduino code, that's right. I spent all day yesterday trying to solve the problems that the platform points out. It really is quite laborious. And in the end I couldn't make it work =(
I'll try the way you told me, from your code as an example. But it looks like the sensor I want to use is more complicated. Requires more stuff to work.
This part that complicates for me, because it's hard to find people with similar problems, talk and learn, because there seem to be few people using this MCU.