2

This Raspberry Pi Post talking about the SenseHat gives the following example to fill up the LED matrix with random colours:

cat /dev/urandom > /dev/fb1

This works: but also generates the following error:

cat: write error: File too large

I can use 'dd' instead

dd if=/dev/urandom of=/dev/fb1 count=1 bs=128

This works: and doesn't give an error: but I just got the figure of 128bytes from trial and error - what is the real size to use here ?

[Also: can somebody add 'SenseHat' to the list of tags ; it seems we should have this here?]

monojohnny
  • 569
  • 1
  • 6
  • 17

0 Answers0