This repository was archived by the owner on Mar 17, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +39
-73
lines changed
FirebaseTranscriber_ESP8266 Expand file tree Collapse file tree 2 files changed +39
-73
lines changed Load Diff This file was deleted.
Original file line number Diff line number Diff line change 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+ void setup () {
29+ Serial.begin (9600 );
30+ Serial.println (" Firething starting up..." );
31+ fire_thing.SetDebugHandler ([](const char * message) { Serial.println (message); });
32+ fire_thing.Setup ();
33+ }
34+
35+ void loop () {
36+ Serial.println (" ." );
37+ fire_thing.Loop ();
38+ delay (100 );
39+ }
You can’t perform that action at this time.
0 commit comments