Hi Folks,

I'm trying actually to get an issue with the modEEG of the OpenEEG Project.
When I plug the harware trough an serial/usb to PD (comport), I've a series of decimal numbers (to 256).
On the firmware info (from BrainBay manual):

"The P2 Firmware Protocol was the inital transmission protocol of the OpenEEG project, used by ModularEEG. It is compatible with the ElectricGuru application. P2 uses 17 data bytes to transmit 6 channels of EEG data:

1: sync0; // synchronisation byte 1 = 0xa5
2: sync1; // synchronisation byte 2 = 0x5a
3: version; // version number = 2
4: count; // packet counter. Increases by 1 each packet.
5: Chn1low // channel 1 low byte
6: Chn1high // channel 2 high byte
7: Chn2low // channel 2 low byte
8: Chn2high // ...
9: Chn3low
10: Chn3high
11: Chn4low
12: Chn4high
13: Chn5low
14: Chn5high
15: Chn6low
16: Chn6high // channel 6 high byte
17: switches; // State of PD5 to PD2, in bits 3 to 0. "

Could someone help me decrypting this firmware?
Does somebody had use before the modEEG with Puredata?

Cosmin