hi giorgio!
i already did this successfully. here an example with the file ex1.py
that is saved in /home/ccrma/on-startup. with the sense-hat it is quite
the same but for some commands like the accelerometer you need
to send [ sudo python accelerometer.py (
hope this helps,
m