You can use a Serial Monitor to debug and troubleshoot your sketches, sending text and numbers to the serial monitor. You can also use the Serial Monitor as a user interface to display messages and accept keyboard input.
In the Codecraft "Serial Port" menu, you can find blocks to use the serial interface of the Grove Beginner Kit for Arduino.
Codecraft includes a Serial Monitor application, and you can also use other serial monitor programs with your Kit.
The Arduino language describes the serial communication interface.
Build this sketch ➡
(To enlarge, right click, open image in new tab)
Or, download Serial_Port.cdc,
save to your computer, and open in Codecraft using
Files ... Open local projects
Upload it
Click the Connect button and select the device for your Grove Board (same as you use to Upload)
Click the Serial Monitor button
On the lower right of the Serial Monitor window, change the Baud rate to 19200.
Click the reset button on your microcontroller.
Follow the instructions to enter a number and click the Send button at the top of the Serial Monitor window.
In addition to the Codecraft Serial Monitor, you can use other serial monitor programs with your Grove Beginner Kit for Arduino.
For example:
Arduino IDE serial monitor
Sparkfun tutorial: Serial Terminal Basics
Windows
MacOS
Android (smartphones, tablets)
iOS (iPhone, iPad)
No solution?
Note:
Only one serial monitor program can be connected to your Grove Kit's serial port at any time.
So, if you have clicked "Connect" in Codecraft and want to use a different serial monitor program, you'll need to click "Connect" in Codecraft and then click "Disconnect." Then, you can connect to the the Kit's serial port using another serial monitor program.
Serial port settings for the serial monitor program (MobaXterm, etc.)
Data bits: 8
Stop bits: 1
Parity: None
Flow control: None