This article is an example of a Python program to calculate the percentage of the occurrences of heads or tails in n flips of a coin.
Read MoreMonth: September 2021
[EN] Let’s have fun doing time-lapse with ESP32CAM.
This article is an application of the ESP32CAM board to perform continuous photo shooting with a fixed interval between shots, known as time-lapse, in Python. By installing the firmware with the integrated camera library for connection to the camera module on the ESP32CAM, programming is simple and easy code configurable.
Read More[TH] ESP32-ML4M กับเกม Tic-Tac-Toe ภาคจบ
จากบทความเกม Tic-Tac-Toe หรือเกมโอเอ็กซ์ที่เล่นกับคอมพิวเตอร์ (esp32) ผ่านทางคอนโซลของโปรแกรมเทอร์มินอลซึ่งไม่สะดวก คราวนี้มาเรียนรู้การใช้วงจรต่อพ่วงของ esp32 ของบอร์ด ML4M (ภาพที่ 1) ว่ามีวงจร I/O อย่างไรบ้าง และตัวอย่างเกม Tic-Tac-Toe ที่เล่นผ่านอุปกรณ์เป็นอย่างไร ซึ่งในโค้ดมีการทำงานกับโมดูลจอยสติก และสวิตช์แบบสัมผัส
Read More[EN] How To Compile MicroPython To Use With ESP32.
This article outlines the steps for compiling MicroPython with an ESP32 board with Linux operating systems running on Windows 10 or WSL version 1 or 2 to write the resulting binary files onto the ESP32 board.
Read More[TH] เกม Tic-Tac-Toe
บทความนี้เป็นเก็บตกตัวอย่างเกมโอเอ็กซ์หรือ Tic-Tac-Toe ที่ทางทีมเราใช้ในการสอนวิชาพัฒนาเกมด้วยภาษาต่าง ๆ ตามความเหมาะสมกับกลุ่มผู้เรียน แต่ส่วนใหญ่จะใช้ภาษาไพธอนในการนำสอนเนื่องจากอธิบายและเขียนไปด้วยได้สะดวกกว่าภาษาอื่น ประกอบกับอยากให้มองเห็นแนวทางการนำไปใช้กับแพลตฟอร์มอื่น ๆ บ้าง ทางพวกเราจึงนำตัวอย่างมาใช้กับ MicroPython ของบอร์ดที่เราตั้งชื่อกันว่า ml4m ซึ่งมีที่มาจากบอร์ดนี้ติดตั้ง TensorFlow Lite บน ESP32 แบบ ROM 4MB โดยบอร์ดมีหน้าตาดังภาพที่ 1
Read More[EN] LAMP on Raspberry Pi
This article is a memoir about setting up the Raspberry Pi 3 B+ board as a LAMP-based web service or Linux + Apache + MySQL + PHP. We chose MariaDB instead of MySQL. We have discussed how to install and it was already set up in the previous article.
Read More