google-sheet2Html

/*! * * Google Sheets To HTML v0.9a * * To use, simply replace the "tq?key=" value in the * URL below with your own unique Google document ID * * The Google document's sharing must be set to public * */ google.load('visualization', '1', { packages: ['table'] }); var visualization; function drawVisualization() { var query = new google.visualization.Query('https://spreadsheets.google.com/tq?key=https://docs.google.com/spreadsheets/d/1-vUEZ9tae5C_OXzSi0dQPWwUrO3H5S-gImB5afFgqDg/edit?usp=sharing'); query.setQuery('SELECT A, B, C, D label A "Duration", B "Song", C "Requested By", D "URL"'); query.send(handleQueryResponse); } function handleQueryResponse(response) { if (response.isError()) { alert('There was a problem with your query: ' + response.getMessage() + ' ' + response.getDetailedMessage()); return; } var data = response.getDataTable(); visualization = new google.visualization.Table(document.getElementById('table')); visualization.draw(data, { legend: 'bottom' }); } google.setOnLoadCallback(drawVisualization);

Sunday, July 23, 2017

ติดตั้ง Arduino core สำหรับ ESP32S




ติดตั้ง Arduino core สำหรับ ESP32S


บอร์ด NodeMCU V1.1 ESP32S มีความสามารถน่าสนใจ โดยมี WIFI และ Bluetooth ในตัวทั้ง ความเร็ว และ เมโมรี ก็มากกว่า NodeMCU V2 ESP8266 ลองดูตารางเปรียบเทียบ ภาพจาก เวป

https://www.youtube.com/watch?v=Mq1YhgS5VkY



ติดตั้งArduino core สำหรับ ESP32S ในการ

ติดตั้งบน OS Linux สามารถเข้าไปดูรายละเอียดที่ https://github.com/espressif/arduino-esp32#instructions-for-debianubuntu-linux
โดยใช้คำสั่ง ดังนี้
  หลังจากการติดตั้งให้ restart Arduino IDE จากนั้นไปที่ Tools จะมีชือ บอร์ด ESP32DevModule




รายละเอียดขา Pin Map


ภาพจาก https://github.com/espressif/arduino-esp32#instructions-for-debianubuntu-linux