fix Example app: iterating through available boards

fixed beginBoard; iterating through available boards
detectBoard() > detectBoards()