Generate a good README use `npx` commmd.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
void setup() { | |
// put your setup code here, to run once: | |
pinMode(13, OUTPUT); | |
} | |
void loop() { | |
// put your main code here, to run repeatedly: | |
digitalWrite(13, 1); | |
delay(300); // ms |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
node-pre-gyp WARN Using request for node-pre-gyp https download | |
node-pre-gyp WARN Tried to download(404): https://storage.googleapis.com/cloud-profiler/pprof-nodejs/release/v1.2.0/node-v72-win32-x64-unknown.tar.gz | |
node-pre-gyp WARN Pre-built binaries not found for pprof@1.2.0 and node@12.22.5 (node-v72 ABI, unknown) (falling back to source compile with node-gyp) | |
在此解決方案中一次建置一個專案。若要啟用平行建置,請新增 "/m" 參數。 | |
profiler.cc | |
win_delay_load_hook.cc | |
c:\users\eugene\appdata\local\node-gyp\cache\12.22.5\include\node\node.h(655): warning C4819: 檔案含有無法在目前字碼頁 (950) 中表示的字元。請以 Unicode 格式儲存檔案以防止資料遺失 (正在編譯原始程式檔 ..\bindings\profiler.cc) [F:\ST | |
\social_be\node_modules\pprof\build\pprof. | |
vcxproj] | |
f:\st\social_be\node_modules\pprof\bindings\profiler.cc(140): error C2131: 運算式未評估為常數 [F:\ST\social_be\node_modules\pprof\build\pprof.vcxproj] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
' https://plantuml.com/zh/ | |
' | |
@startuml | |
header 20210412 | |
title 貓貓鬧鐘 | |
skinparam sequenceArrowThickness 2 | |
skinparam roundcorner 20 | |
skinparam maxmessagesize 60 | |
skinparam sequenceParticipant underline | |
actor User |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
' https://plantuml.com/zh/ | |
@startuml | |
header 20210411 | |
title 心如止水 | |
skinparam sequenceArrowThickness 2 | |
skinparam roundcorner 20 | |
skinparam maxmessagesize 60 | |
skinparam sequenceParticipant underline | |
actor User | |
participant "心跳感測" as A |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#define OSX 0 | |
#define WINDOWS 1 | |
#define UBUNTU 2 | |
#include "Keyboard.h" | |
int platform = OSX; | |
void setup() { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
size(200,200); | |
line(random(200),random(200),random(200),random(200)); | |
line(random(200),random(200),random(200),random(200)); | |
line(random(200),random(200),random(200),random(200)); | |
line(random(200),random(200),random(200),random(200)); | |
line(random(200),random(200),random(200),random(200)); | |
line(random(200),random(200),random(200),random(200)); | |
saveFrame("dar_0308a.jpg"); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/*****************************************************************************/ | |
// Function: Get the accelemeter of the x/y/z axis. | |
// Hardware: Grove - 3-Axis Analog Accelerometer | |
// Arduino IDE: Arduino-1.0 | |
// Author: Frankie.Chu | |
// Date: Jan 11,2013 | |
// Version: v1.0 | |
// by www.seeedstudio.com | |
// | |
// This library is free software; you can redistribute it and/or |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
這個程式的目標是希望可以激起程式高手願意修改我的程式的熱情。 | |
arduino tutorial: https://www.arduino.cc/en/Tutorial/BuiltInExamples/Button | |
電路圖參考: https://fritzing.org/projects/digital-input-button/ | |
*/ | |
#define buttonPin 12 | |
#define ledPin 13 | |
#define digitalWrite myWrite | |
int a = 0; // 你是 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
void setup() { | |
pinMode(13, OUTPUT); | |
} | |
void loop() { | |
digitalWrite(13, HIGH); | |
delay(100); // 1000ms = 1s , 100ms = 0.1s | |
digitalWrite(13, LOW); | |
delay(100); // 1000ms = 1s , 100ms = 0.1s | |
} |
NewerOlder