This file contains hidden or 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
package main | |
import ( | |
"github.com/ant0ine/go-json-rest/rest" | |
"log" | |
"net/http" | |
) | |
type Message struct { | |
Body string |
This file contains hidden or 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
//i2c Slave Code(LAUNCHPAD) | |
#include <Wire.h> | |
void setup() | |
{ | |
Wire.begin(8); //join i2c bus with addres 8 | |
Wire.onReceive(receiveEvent); | |
pinMode(6,OUTPUT); | |
pinMode(RED_LED, OUTPUT); | |
digitalWrite(RED_LED, LOW); |
This file contains hidden or 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
DEBUG Loaded Plugin: RFC 6120: Stream Feature: STARTTLS | |
DEBUG Loaded Plugin: RFC 6120: Stream Feature: Resource Binding | |
DEBUG Loaded Plugin: RFC 3920: Stream Feature: Start Session | |
DEBUG Loaded Plugin: RFC 6121: Stream Feature: Roster Versioning | |
DEBUG Loaded Plugin: RFC 6121: Stream Feature: Subscription Pre-Approval | |
DEBUG Loaded Plugin: RFC 6120: Stream Feature: SASL | |
DEBUG Loaded Plugin: XEP-0030: Service Discovery | |
DEBUG Loaded Plugin: XEP-0004: Data Forms | |
DEBUG Loaded Plugin: XEP-0131: Stanza Headers and Internet Metadata | |
DEBUG Loaded Plugin: XEP-0082: XMPP Date and Time Profiles |
This file contains hidden or 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
DEBUG Loaded Plugin: RFC 6120: Stream Feature: STARTTLS | |
DEBUG Loaded Plugin: RFC 6120: Stream Feature: Resource Binding | |
DEBUG Loaded Plugin: RFC 3920: Stream Feature: Start Session | |
DEBUG Loaded Plugin: RFC 6121: Stream Feature: Roster Versioning | |
DEBUG Loaded Plugin: RFC 6121: Stream Feature: Subscription Pre-Approval | |
DEBUG Loaded Plugin: RFC 6120: Stream Feature: SASL | |
DEBUG Loaded Plugin: XEP-0030: Service Discovery | |
DEBUG Loaded Plugin: XEP-0004: Data Forms | |
DEBUG Loaded Plugin: XEP-0082: XMPP Date and Time Profiles | |
DEBUG Loaded Plugin: XEP-0131: Stanza Headers and Internet Metadata |
NewerOlder