Arduino
ãã¾ã¾ã§ãMediaDevices.getUserMediaã§åå¾ã§ããã¹ããªã¼ã ã¯ã²ã¨ã¤ã ããã¨æãè¾¼ãã§ãã¾ããããã²ãããªãã¨ããè¤æ°åå¾ã§ãããã¨ãç¥ãã¾ããã ãªã®ã§ããã£ãããMediaDevices.getUserMediaã使ã£ã¦ãPCã«æ¥ç¶ãã¦ããã«ã¡ã©ã®æ åãè¤æ°åæã«è¡¨â¦
https://docs.m5stack.com/ja/core/m5stickc_plus ããå¼ç¨ååä½ã£ãCloud Functionsã®é¢æ°ã®HTTPããªã¬ã¼ãWiFiã«æ¥ç¶ããM5StickC Plusããå©ãã¦ã¿ã¾ããblog.kimizuka.org WiFiæ¥ç¶ HTTPãªã¯ã¨ã¹ã JSONã®ãã¼ã¹ ã¨ããããªãã¨ãããªããã¨ãããã¤ãâ¦
ã²ãããªãã¨ããFirmataã¨Johnny-fiveã§è¡ããããªå¦çãèªä½ããã¨ãã話ã§ããhttps://www.arduino.cc/reference/en/libraries/firmata/www.arduino.cc johnny-five.ioMacã«æ¥ç¶ããArduinoã«å¯¾ãã¦ããã³çªå·ã¨0ã255ã®å¤ãã·ãªã¢ã«éä¿¡ã§éããã¨ã§ãArâ¦
Atom Matrixãè³¼å ¥ããã®ã§ãArduino IDEããã³ã¼ããæ¸ãè¾¼ãã§ãã¾ãããATOM Matrixwww.switch-science.com å®æãããã® æ¬ä½ãå¾ããã¨ä¸æ¹åãæãç¢å°ã表示ãã¾ãã ããã«è³ãã¾ã§ã«ãã£ããã¨ãé ã追ã£ã¦èª¬æãã¦ããã¾ãã Atom Matrixã®ä»æ§ãâ¦
ãã¤ã³ã¿ã渡ãã°é¢æ°ã®å¼æ°ã«é åã渡ããã¨ãã§ãã¾ãã void setup() { Serial.begin(9600); } void loop() { int arr[] = { 0, 1, 2, 3, 4, 5, 6, 7, 8, 9 }; checkArr(arr); delay(1000); } void checkArr(int *arr) { Serial.println(arr[9]); // â 9 â¦