Update neurosky README
Signed-off-by: b3b <ash.b3b@gmail.com>
This commit is contained in:
parent
5eaabf18a7
commit
2b2ef9bb5d
|
@ -80,7 +80,7 @@ func main() {
|
|||
fmt.Println("Wave", data)
|
||||
})
|
||||
gobot.On(neuro.Event("eeg"), func(data interface{}) {
|
||||
eeg := data.(neurosky.EEG)
|
||||
eeg := data.(neurosky.EEGData)
|
||||
fmt.Println("Delta", eeg.Delta)
|
||||
fmt.Println("Theta", eeg.Theta)
|
||||
fmt.Println("LoAlpha", eeg.LoAlpha)
|
||||
|
|
Loading…
Reference in New Issue