gauche

シリアル通信

シリアル通信ができるってことは好きな言語で Arduino をコントロールできるってことなので試す。以下 Arduino 側。シリアル通信で 'h' で LED オン、'l' で LED オフ。 // Serial - Gauche - Test - Arduino #define LED 13 int inByte; void setup() { pin…