Versions in this module Expand all Collapse all v0 v0.11.0 Feb 17, 2016 Changes in this version + type Event struct + Data string + Error error + Name string + type SparkCoreAdaptor struct + APIServer string + AccessToken string + DeviceID string + func NewSparkCoreAdaptor(name string, deviceID string, accessToken string) *SparkCoreAdaptor + func (s *SparkCoreAdaptor) AnalogRead(pin string) (val int, err error) + func (s *SparkCoreAdaptor) AnalogWrite(pin string, level byte) (err error) + func (s *SparkCoreAdaptor) Connect() (errs []error) + func (s *SparkCoreAdaptor) DigitalRead(pin string) (val int, err error) + func (s *SparkCoreAdaptor) DigitalWrite(pin string, level byte) (err error) + func (s *SparkCoreAdaptor) EventStream(source string, name string) (event *gobot.Event, err error) + func (s *SparkCoreAdaptor) Finalize() (errs []error) + func (s *SparkCoreAdaptor) Function(name string, args string) (val int, err error) + func (s *SparkCoreAdaptor) Name() string + func (s *SparkCoreAdaptor) PwmWrite(pin string, level byte) (err error) + func (s *SparkCoreAdaptor) Variable(name string) (result string, err error)