Declaration:
#define GpsSerial Serial1
#define DebugSerial Serial
struct
{
char GPS_Buffer[80];
bool isGetData;
#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, |
[ | |
{ | |
"书名": "Walter Benjamin", | |
"作者": "Howard Eiland / Michael W. Jennings", | |
"评分": "", | |
"评分人数": "", | |
"标记日期": "2017-07-16", | |
"出版日期": "2016-11-21", | |
"出版社": "Belknap Press: An Imprint of Harvard University Press", | |
"页数": 768, |
<!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 |
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 |
Declaration:
#define GpsSerial Serial1
#define DebugSerial Serial
struct
{
char GPS_Buffer[80];
bool isGetData;
Located in alphabetical order (not prefer)
C
ab
), also designed as a more modern replacement, written in C
golang
)golang
)''' | |
requirements: | |
scikit-image==0.16.2 | |
tqdm==4.45.0 | |
''' | |
from PIL import Image, ImageFile | |
ImageFile.LOAD_TRUNCATED_IMAGES = True | |
import glob, random, os, time, re, time |
import subprocess, os | |
current_path = os.getcwd() | |
current_file_list = os.listdir() | |
def exec_command(cmd): | |
command = cmd.split() | |
command_output = subprocess.run(command, capture_output=True) | |
for line in command_output.stdout.decode("utf-8").split("\n"): | |
print("\t\t", line) |