Values not seen in IOTcloud dashboard

I'm trying to just serial print two variables and see them on the IOT cloud dashboard but it always shows zero and no other value. Though the thing and variables are interconnected. Please see the code below:

https://create.arduino.cc/editor/ocul/eedecbe7-7da3-463a-9748-5e559f172e5e/preview

Thanks

The link shared here doesn't have code attached for some reason. But in this case please make sure that the following steps are taken care.

  • Configuration is properly done (associated board and network setting).

  • Check the generated sketch and your edited sketch.

  • After upload checks the serial monitor to see updates about the wifi connection and cloud connection.

You can also try the following example directly on your board.
Documentation: https://docs.arduino.cc/tutorials/nano-33-iot/iot-cloud