Hello, pardon my ignorance and thank you in advance for your help.
I am new to Photon. I have managed to get one programmed (using Build) and connected to Blynk. My basic sketch (?) works exactly as I expected. However, as I have tried to refine it, I have run into some issues and need to troubleshoot outside of the cloud interface to Blynk.
In examples, I see things like “Particle.publish”, “print()” and “write()”. From the context of the examples, it looks as if these are happening sort of in parallel to the WiFi interface. My question is: How are these used and where does the output appear?
Guessing it had to do with the Command Line Interface (CLI) I have a couple times to figure out how to load and use that. After an aborted attempt on Sunday, I tried again today. I actually got the “npm -g . . .” command to run, but it spewed about two Windows cmd pages of error messages, crashed my computer, corrupted my boot drive and (maybe coincidentally) caused my RAID drive to go critical. After Windows re-booted and ran chdsk, I tried to uninstall node.js and it hung and crashed my computer again.
My first task is to repair my Raid array. Then back up my system. When I have finished all that, I’ll get back to working with my Photon.
In the mean time, if any of you can guide me through how to use commands like “Particle.publish” I would really appreciate it.