How to display data (like Serial.begin in Arduino IDE)

Hi, I am trying to display data from simple sensor (photocell, temperature sensors). When I played with Arduino, I can use ‘Serial.begin’ to display data. But I cannot find the command in ‘Particle Build’ IDE. Please let me know where I can see data from sensors. Thanks.

What do you mean with "in 'Particle Build'"?
You might rather want to look in the docs
e.g. here
https://docs.particle.io/reference/firmware/photon/#begin-

1 Like