![]() I have tried testing it by creating a fake char that was formatted the same way as the brain data to see if it would send and it did not.ĭigitalWrite(13, true) // Turn on a light to show transmitting How would I send this data? Would I need to encode and decode it? This is some transmitter/receiver code I have modified to use the brain library but it does not work. The receiver is a 433Mhz RF Transmitter and Receiver Link Kit. I am having trouble coming up with a code to send that data. It is actually several comma delineated values. "signal strength, attention, meditation, delta, theta, low alpha, high alpha, low beta, high beta, low gamma, high gamma"Īs you can see, according to the writer of this code, the readCSV function gets the brain data and returns it as a char. readCSV() function returns a string (well, char*) listing the most recent brain data, in the following format: Set up the brain parser, pass it the hardware serial object you want to listen on. The original code looks like this, #include I am using a code based on the arduino brain library taken from an EEG tutorial. I am currently trying to wirelessly send data from an EEG headset to another arduino over RF. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |