lihas / NeuroPy

NeuroPy library written in python to connect, interact and get data from neurosky's MindWave EEG headset.
88 stars 54 forks source link

example code didnt work on my machine #2

Closed acseckin closed 7 years ago

acseckin commented 11 years ago

Machine properties:

screen: pyt

lihas commented 11 years ago

try typing the complete program yourself instead of copy-pasting the code, there might be problem with tabs and spaces. tell me if you still face error after this.

On Tue, Jul 9, 2013 at 4:57 PM, cagdaseckin notifications@github.comwrote:

Machine properties:

  • python 3.3.2
  • windows 7
  • Bluetooth
  • neurosky mindwave mobile at COM6

screen: [image: pyt]https://f.cloud.github.com/assets/3118166/767751/67ce7278-e88a-11e2-985e-ff6984760090.png

— Reply to this email directly or view it on GitHubhttps://github.com/lihas/NeuroPy/issues/2 .

acseckin commented 11 years ago

Hi,

First of all thanks for reply. I took care of the installation problem with changing python version to 2.7 and install pygame. After all sdl_viewer.py changes; import pygame library also changes all windows settings syntax to linux settings. Now I need to know how i can assign comport name and baud rate also how i can get raw signal. Sorry for amateurish problems.

Sincerly.

2013/7/9 sahil notifications@github.com

try typing the complete program yourself instead of copy-pasting the code, there might be problem with tabs and spaces. tell me if you still face error after this.

On Tue, Jul 9, 2013 at 4:57 PM, cagdaseckin notifications@github.comwrote:

Machine properties:

  • python 3.3.2
  • windows 7
  • Bluetooth
  • neurosky mindwave mobile at COM6

screen: [image: pyt]< https://f.cloud.github.com/assets/3118166/767751/67ce7278-e88a-11e2-985e-ff6984760090.png>

— Reply to this email directly or view it on GitHub< https://github.com/lihas/NeuroPy/issues/2> .

— Reply to this email directly or view it on GitHubhttps://github.com/lihas/NeuroPy/issues/2#issuecomment-20697375 .

A. Çağdaş SEÇKİN

lihas commented 11 years ago

the second argument to neuropy class , while creating object can be used to specify baud rate. you can get more info about usage if you see NeuroPy's class documentation. i have included some comments in the nerupy.py file, which you can browse in github. they provide aditional help about usage and in a few hours i will include those comments in the readme file itself. On 10-Jul-2013 2:39 AM, "Ahmet Çağdaş SEÇKİN" notifications@github.com wrote:

Hi,

First of all thanks for reply. I took care of the installation problem with changing python version to 2.7 and install pygame. After all sdl_viewer.py changes; import pygame library also changes all windows settings syntax to linux settings. Now I need to know how i can assign comport name and baud rate also how i can get raw signal. Sorry for amateurish problems.

Sincerly.

2013/7/9 sahil notifications@github.com

try typing the complete program yourself instead of copy-pasting the code, there might be problem with tabs and spaces. tell me if you still face error after this.

On Tue, Jul 9, 2013 at 4:57 PM, cagdaseckin notifications@github.comwrote:

Machine properties:

  • python 3.3.2
  • windows 7
  • Bluetooth
  • neurosky mindwave mobile at COM6

screen: [image: pyt]<

https://f.cloud.github.com/assets/3118166/767751/67ce7278-e88a-11e2-985e-ff6984760090.png>

— Reply to this email directly or view it on GitHub< https://github.com/lihas/NeuroPy/issues/2> .

— Reply to this email directly or view it on GitHub< https://github.com/lihas/NeuroPy/issues/2#issuecomment-20697375> .

A. Çağdaş SEÇKİN

— Reply to this email directly or view it on GitHubhttps://github.com/lihas/NeuroPy/issues/2#issuecomment-20705618 .

lihas commented 11 years ago

According to neurosky manual the device works at 57600 baud rate. So that is the baud rate you should use. The readme has the lists all the available variables. for raw value you can use rawValue.