บทความ

กำลังแสดงโพสต์จาก มิถุนายน, 2023

เปลี่ยนสีและ Weight ของ Text ใน Arduino IDE ผ่าน Theme

ไฟล์ theme.txt จะอยู่ใน C:/Program Files (x86)/Arduino/lib/theme ซึ่งจะต้องใช้สิทธิ์ Administrator ในการแก้ไขไฟล์ แต่เราสามารถ Copy ไฟล์ theme.txt แล้วเปลี่ยนชื่อไฟล์ theme.txt เดิมเป็นชื่ออื่น เช่น default-theme.txt จากนั้น้ราก็แก้ไขไฟล์ theme.txt ได้โดยไม่จำเป็นต้องใช้สิทธิ์ Administrator ส่วนที่ 1 Keywords # TEXT - KEYWORDS # FUNCTIONS editor.keyword1.style = #E06C75,bold editor.data_type.style = #E06C75,bold           บรรทัดนี้คือคำสั่ง Serial, WiFi, etc.                                                                         ซึ่งเป็น Built-in library # METHODS editor.keyword2.style = #E06C75,plain editor.function.style = #61AFEF,plain             ...