Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit6614c87

Browse files
committed
Removed Transcriber example and added full Firething example.
1 parentfc1ca02 commit6614c87

File tree

2 files changed

+39
-73
lines changed

2 files changed

+39
-73
lines changed

‎examples/FirebaseTranscriber_ESP8266/FirebaseTranscriber_ESP8266.ino

Lines changed: 0 additions & 73 deletions
This file was deleted.
Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
//
2+
// Copyright 2016 Google Inc.
3+
//
4+
// Licensed under the Apache License, Version 2.0 (the "License");
5+
// you may not use this file except in compliance with the License.
6+
// You may obtain a copy of the License at
7+
//
8+
// http://www.apache.org/licenses/LICENSE-2.0
9+
//
10+
// Unless required by applicable law or agreed to in writing, software
11+
// distributed under the License is distributed on an "AS IS" BASIS,
12+
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13+
// See the License for the specific language governing permissions and
14+
// limitations under the License.
15+
//
16+
17+
// FirethingDemo_ESP8266 is a sample that demos operation of the firething
18+
// portion of this library. This is a firmware for the esp that acts as
19+
// a bridge between pins on the esp and a firebase database. This includes
20+
// a captive configuration portal.
21+
22+
23+
#include<ESP8266WiFi.h>
24+
#include<Thing.h>
25+
26+
thing::FireThing fire_thing;
27+
28+
voidsetup() {
29+
Serial.begin(9600);
30+
Serial.println("Firething starting up...");
31+
fire_thing.SetDebugHandler([](constchar* message) { Serial.println(message); });
32+
fire_thing.Setup();
33+
}
34+
35+
voidloop() {
36+
Serial.println(".");
37+
fire_thing.Loop();
38+
delay(100);
39+
}

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp