ติดตั้งบอร์ด Microbit V1 ใน Arduino IDE V2
.. ชลิตา จูมสีมา : เขียน/เรียบเรียง ** จากการทดสอบ บอร์ด Microbit V2 ยังมีปัญหา อัพโหลดไม่ได้ Step 1. ที่โปรแกรม IDE เลือก file > Preference Step 2. ที่ Additional boards manager URL เพิ่ม (1 บรรทัดต่อ 1 Link กรณีติดตั้งบอร์ดอื่นๆด้วย เช่น บอร์ด microbit, sparkfun, ...) https://sandeepmistry.github.io/arduino-nRF5/package_nRF5_boards_index.json Step 3. คลิกที่ Boards Manager แล้วพิมพ์คำว่า nrf5 ในช่องค้นหา เลือก Nordic Semiconductor nRF5 Boards By Sandeep Mistry แล้วทำการติดตั้ง (ต้องเชื่อมต่อ Internet) Step 4. เลือกบอร์ดโดยคลิกที่ Select other board and port... Step 5. ที่ช่องค้นหา พิมพ์ microbit จากนั้นเลือกรุ่นบอร์ดและ port ที่เชื่อมต่อกับบอร์ด Microbit Step 6. ทดลองเขียนโค้ดดังนี้ แล้วคลิปปุ่ม upload (เมื่อขึ้น uploading ต้องกดปุ่ม boot บนตัวบอร์ด) const int buttonA = 5; const int buttonB = 11; void setup() { Serial.begin(9600); pinMode(buttonA, INPUT); pinMode(buttonB, INPUT); } void loop() { if (! digitalRead(buttonA)) { Serial.pri...