How to work with trigger

what code should I write to explicitly push data to cloud using command in code

Hi,

The trigger opeion is only available for the digital pins.

When you select data collection rate as trigger, and select the pins which you want to monitor, the trigger configuraiton is set.

With the trigger configuration, if there is any change in the state monitored by the digital pins to be monitored as per the configuration, the Bolt WiFi module will push the changed state to the Cloud.