Posts: 13
Joined: Mon Aug 20, 2018 10:13 am

Mathematica and GPIO

Mon Oct 29, 2018 9:53 am

I say chaps,
I've got a "real world, real time" situation, with sensors and things to control, which I can do with GPIO and, perhaps, Python to pull the strings, but some heavy maths (multi-variable optimisation) in between. Rather than spend a lot of time writing Python code, I thought I might pull in some Mathematica stuff. How to interface Mathematica to GPIO? Or, pass variables to and from Python?
And another thing, is it possible to archive the Mathematica installation just in case it stops being part of the standard R-Pi kit?

User avatar
Posts: 36540
Joined: Sun Jun 16, 2013 11:19 pm
Location: Basingstoke, UK
Contact: Website Twitter

Re: Mathematica and GPIO

Mon Oct 29, 2018 10:40 am

https://reference.wolfram.com/language/ ... /GPIO.html

Mathematica is back as a part of the standard Raspbian build. You can pull the 500MB DEB file and save that away.
Note: Having anything humorous in your signature is completely banned on this forum. Wear a tin-foil hat and you'll get a ban.

Any DMs sent on Twitter will be answered next month.

This is a doctor free zone.

Posts: 9915
Joined: Wed Jan 25, 2012 6:39 pm

Re: Mathematica and GPIO

Tue Oct 30, 2018 9:39 pm

"Real time", "python/Mathematica" and "RaspberryPi" are not good bedfellows.

Posts: 13
Joined: Mon Aug 20, 2018 10:13 am

Re: Mathematica and GPIO

Thu Nov 01, 2018 12:56 pm

Thanks both, for those answers.

Return to “Mathematica”