Hi, I have a Bluetooth device (BLE) that sends out 10 numbers every second from 1 UUID.
I’d like to store these 10 numbers in a list in the order they are received, and then the next second this list is overwritten and so on.
So the 1st number sent out from the device gets stored in the 1st position in the list, the 2nd number in the 2nd position of the list and so on, and they are constantly being updated.
Anyone have any ideas how to go about it?
EDIT: my question is just to do with lists. I understand Bluetooth connecting/receiving and I understand timers. So I guess how do I create a list that is 10 items long that is overwritten in order?