Don´t change the poll, but for reading the results, consider that the raspberry PI is just linux (on a ARM CPU)