Update neurosky README

Signed-off-by: b3b <ash.b3b@gmail.com>
This commit is contained in:
b3b 2017-03-23 12:56:07 +03:00
parent 5eaabf18a7
commit 2b2ef9bb5d
1 changed files with 1 additions and 1 deletions

View File

@ -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)