A minimal table to compare the Espressif's MCU families.
| ESP8266 | ESP32 | ESP32-S2 | ESP32-S3 | ESP32-C3 | ESP32-C6 | |
|---|---|---|---|---|---|---|
| Announcement Date | 2014, August | 2016, September | 2019, September | 2020, December |
| #include <EEPROM.h> | |
| int addr = 0; | |
| float val = 0; | |
| /***************************************************************************** | |
| * Union คือชุดข้อมูลที่ตัวแปรแต่ละตัวใช้พื้นที่ร่วมกัน | |
| * ซึ่งในกรณีนี้ เราอยากเก็บค่า Float ซึ่งใช้ 4 Byte เราก็ต้องสร้าง Byte ซึ่งใช้ 4 Byte มา 4 ตัว | |
| *****************************************************************************/ |
| package main | |
| import ( | |
| "fmt" | |
| "time" | |
| "github.com/go-vgo/robotgo" | |
| ) | |
| func main() { | |
| fmt.Println("Auto Click Start!") |
| <html> | |
| <head> | |
| <script src="https://cdn.rawgit.com/netpiemaker/feedview/master/jquery.js"></script> | |
| <script src="https://cdn.rawgit.com/netpiemaker/feedview/master/netpie.feedview.js"></script> | |
| </head> | |
| <body style="margin: 0;overflow: hidden;background-color: inherit;" id="body"> | |
| <div style="width:100vw;height:90vh;" id="main"> | |
| <div id="chart"></div> | |
| </div> | |
| <button onclick="export_csv()">Export csv</button> |
| import React from 'react'; | |
| import { StyleSheet, Text, View, Button, Alert } from 'react-native'; | |
| export default class App extends React.Component { | |
| showAlert = () => { | |
| Alert.alert( | |
| 'Alert Title', | |
| 'My Alert Msg', | |
| [ | |
| {text: 'Ask me later', onPress: () => console.log('Ask me later pressed')}, |
| const AWS = require('aws-sdk') | |
| // TODO: Replase value with your config | |
| const region = "ap-southeast-1" | |
| // TODO: Replase {{id}} and {{name}} with your config | |
| // e.g. https://sqs.${region}.amazonaws.com/000111000011/test-sqs.fifo | |
| const queueURL = `https://sqs.${region}.amazonaws.com/{{id}}/{{name}}.fifo` | |
| AWS.config.update({ region }) |