I am just starting out and I am trying to write my very first test app. What I want to do is just print “Hi” onto the CLI when a key is pressed. But I am realizing that pressing of a key does not just send the data over the comm port (electron is hooked up to the USB and I am flashing using the USB / Win 10). What I am missing is a way for the CLI to just send text or anything really to the comm port. Can anyone help? Code so far:
There are tons of serial monitor programs that allow you to both send and receive but the particle serial monitor is not one of those. I just use the Arduino IDE’s built in monitor. There are probably some command line programs too
Thanks all for the replies! This was very helpful! So, one follow-up question and then back to tinker mode for me: The reason I wanted to get this going was to use it as a standard debug tool to do things like print out the value of variables and registers ect. What does the community at large use for this? Do you guys just have a function that returns interesting variables? I’ll look into the Arduino IDE for now. Thanks again!