Group Abstract Group Abstract

Message Boards Message Boards

0
|
17.4K Views
|
5 Replies
|
0 Total Likes
View groups...
Share
Share this post:

DeviceRead: A driver for SenseHat was not found

Posted 8 years ago

Greetings from JPN, I have purchased the SenseHat board several days ago, I have reached the 1st goal that I could made the programming result by Python3 (IDE). Therefore I proceeded the test for Sense HAT primitive programing on Mathematice 11. I followed the I2C setting, and update Raspbian library.

However, the error messsage comes to me after DeviceRead on SenseHat as below.

DeviceRead::noclass: A driver for SenseHat was not found on your local computer or currently available paclet sites. If you can locate the driver, add the driver directory to $Path or load the driver directly with Get. If you cannot locate the driver, contact the device manufacturer or create a driver using the Wolfram Device Framework. See http://devices.wolfram.com for more information. <

I know this is premitive question, But I know what I have lost any setup setup since I have no idea after reading thru other forum titles.
Pls advice me.

POSTED BY: Faster4Run Go
5 Replies
Posted 7 years ago

Hi...the Sense HAT’s EEPROM sets up a framebuffer device at start up for the Matrix, so if you restarted the Pi since you had it working then you need to shut down the Pi and boot again. I guess unplugging and plugging the Sense HAT ‘live’ could damage it. It is certainly good practice to avoid live plugging hardware.

smt pcba

POSTED BY: Gui Bacon
Posted 8 years ago

Thank you very much. On above "my reply for 1st person", I found my BAD coding style for Mathematica., and I feel this question will be closed.

POSTED BY: Faster4Run Go

Hi,

What version of Mathematica are you running? You will need 11.0.1 to use the SenseHAT driver. You may need to update your Raspian to use Jessie over Wheezy, which only supports 10.0.2 and doesn't include the SenseHAT. Once you are running under Jessie, you can then update Mathematica with:

sudo apt-get upgrade wolfram-engine

Thanks,

Ian

POSTED BY: Ian Johnson
Anonymous User
Anonymous User
Posted 8 years ago
POSTED BY: Anonymous User
Posted 8 years ago

Thank you for your advise ( two persons ) on my premitive question. Under your advise, I think in deep what is wrong.

1) I am running Mathematica 11.0.1 within latest Jessie. But I put the command for upgrading my Raspbian-Jessie & Wilfram-engine - since I wouldkike to confirm I am using the latest code-libray of Raspbian(Jessie).

2) I confuse that the coding style for both Python3 and Mathematice 11.0.1 are same, but this is BAD coding for Mathematice. On the Mathematice 11.0.1, it should be as below - 1st person show me "right coding on device-control". ------ sensehat= DeviceOpen["SenseHat"]

    DeviceRead[sensehat,"temprature"]

So, I could solve my problem and I leran that I need study more "Mathematica coding" thru the device control of SenseHat.

Again, thak you very much

Attachments:
POSTED BY: Faster4Run Go
Reply to this discussion
Community posts can be styled and formatted using the Markdown syntax.
Reply Preview
Attachments
Remove
or Discard