Thank you to DS256 and B.Goode for above replies.
The book I am using is “20 Easy Raspberry Pi Projects” by Rui and Sara Santos.
Whilst the projects in the books are involving hardware, I was trying to get the software to run, get up the Python learning curve, understand what's happening, so that I can then manipulate the software for a specific project in mind.
I already tried a couple of other Python Editors/IDE (suitably baffled) and suspected problems with libraries and wondered if problem was because they were not including Pi specific libraries. So you have clarified that for me.
I cannot use my Pi at the moment, as my monitor failed the drop test as it hit the corner of the desk!
That's why I was trying to find an editor/IDE that I can use on the Mac and then transfer to the Pi when I have a new monitor.
As my project involves a lot of timing, counters, sequencing it is suitable for a small PLC, so I even tried OpenPLC software using ladder logic, which is aimed at the Pi, but I had issues there too. (Years ago I would have used a small Siemens unit; with demonstration software in which you can build and simulate the operations, but have the software does run on a Mac).
So I will now refresh my attempt and try Thonny python as recommended.
The book I am using is “20 Easy Raspberry Pi Projects” by Rui and Sara Santos.
Whilst the projects in the books are involving hardware, I was trying to get the software to run, get up the Python learning curve, understand what's happening, so that I can then manipulate the software for a specific project in mind.
I already tried a couple of other Python Editors/IDE (suitably baffled) and suspected problems with libraries and wondered if problem was because they were not including Pi specific libraries. So you have clarified that for me.
I cannot use my Pi at the moment, as my monitor failed the drop test as it hit the corner of the desk!
That's why I was trying to find an editor/IDE that I can use on the Mac and then transfer to the Pi when I have a new monitor.
As my project involves a lot of timing, counters, sequencing it is suitable for a small PLC, so I even tried OpenPLC software using ladder logic, which is aimed at the Pi, but I had issues there too. (Years ago I would have used a small Siemens unit; with demonstration software in which you can build and simulate the operations, but have the software does run on a Mac).
So I will now refresh my attempt and try Thonny python as recommended.
Statistics: Posted by BwanaRobin — Fri Aug 09, 2024 5:15 pm