julien.launay
Posts: 51
Joined: Wed Mar 30, 2016 5:22 am

thread not working in Trinket emulator

Mon Oct 31, 2016 7:53 pm

Hello,

Did you find a solution to test thread on trinket emulator. The module threading seems not to be available?
So I manage to simulate the thread with classical Python IDE, all is ok, but I lose all sensors simulation.
Did you found a solution?

Is thread working on the sensehat raspberrypi? I hope yes?

Your sincerely.

Julien Launay

User avatar
bensimmo
Posts: 4182
Joined: Sun Dec 28, 2014 3:02 pm
Location: East Yorkshire

Re: thread not working in Trinket emulator

Mon Oct 31, 2016 8:07 pm

Trinket canot run the datalogging SenseHAT with the threading as you have found out.
Use the local sense_emu version in python3, is that what you used?

The SenseHAT will run whatever you tell it and module you have installed for python.
Yes threading works fine.

Saying that I do not know what the AstroPi's will be able to run on the ISS (since you've been asking about it)
It will run the datalogging, I assume they update the basic python3 sensehat module to the current one.

julien.launay
Posts: 51
Joined: Wed Mar 30, 2016 5:22 am

Re: thread not working in Trinket emulator

Mon Oct 31, 2016 9:26 pm

Hello,

thanks.
But how can I use sense-emu on PC windows?
https://www.raspberrypi.org/blog/deskto ... -emulator/
https://sense-emu.readthedocs.io/en/v1.0/index.html
I have to use it on a raspberrypi.
Julien

Return to “Astro Pi”