Skip to content

Instantly share code, notes, and snippets.

Declaration:

#define GpsSerial  Serial1
#define DebugSerial Serial

struct
{
  char GPS_Buffer[80];
  bool isGetData;
function esp() {
python $[esptool.py] --port=$[espPort]"$@" write_flash -fm=dio -fs=32m 0x00000 $[esptoolFirmware]
}
function esptest() {
$esptool -vv -cd nodemcu -cb 460800 -cp $[espPort] -ca 0x00000 -cf $[testCode]
sleep 0.5
echo ""
echo "entering serial monitor..."
screen $[espPort] 115200
<!doctype html>
<html><head><title>【AR Demo】AR Painting</title><meta charset="UTF-8"><link href="http://fonts.googleapis.com/css?family=Crimson+Text:400,400italic,700,700italic|Roboto:400,700,700italic,400italic" rel="stylesheet" type="text/css"><style>/*
* Copyright 2014 Quip
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may
* not use this file except in compliance with the License. You may obtain
* a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
[
{
"书名": "Walter Benjamin",
"作者": "Howard Eiland / Michael W. Jennings",
"评分": "",
"评分人数": "",
"标记日期": "2017-07-16",
"出版日期": "2016-11-21",
"出版社": "Belknap Press: An Imprint of Harvard University Press",
"页数": 768,
#include <Adafruit_GFX.h>
#include <Adafruit_NeoMatrix.h>
#include <Adafruit_NeoPixel.h>
#ifndef PSTR
#define PSTR
#endif
#define PIN 6
Adafruit_NeoMatrix matrix = Adafruit_NeoMatrix(5, 5, PIN,
{
"cocomodInput": {
"tempVal": "28.00",
"humdVal": "87.00",
"lghtVal": "100",
"uvVal": "10",
"micVal": "200"
},
"cocomodOutput": {
"ledState": "On",
<!DOCTYPE NETSCAPE-Bookmark-file-1>
<!-- This is an automatically generated file.
It will be read and overwritten.
DO NOT EDIT! -->
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=UTF-8">
<TITLE>Bookmarks</TITLE>
<H1>Bookmarks</H1>
<DL><p>
<DT><H3 ADD_DATE="1493908229" LAST_MODIFIED="1452765699" PERSONAL_TOOLBAR_FOLDER="true">Bookmarks Bar</H3>
<DL><p>
@tommyjtl
tommyjtl / ricoh-gr-ii_mini.svg
Created May 10, 2017 10:30
ricoh-gr-ii_mini.svg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@tommyjtl
tommyjtl / ricoh-gr-ii.svg
Last active June 28, 2017 15:17
ricoh-gr-ii.svg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.