Cooperative multitasking Arduino code example to process/graph EEG data from Star Wars Force Trainer (Neurosky board)