Finally getting to grips with using Python and the PiFaceCAD and accessing the Pi using SSH/PuTTY. but I'm having less success writing blog posts that have all the fancy formatting that others are using, probably because i am writing the blogs late at night as a summary of the previous day or so's activity. Also, this Blog engine has not been programmed to autocorrect my dyslexic fingers.
I'm on the road this weekend and most of next week, and i haven't quite go the project to the point where I can cart it around and remote into it from my laptop. So that means spending a bit of time writing the Python 3 modules that will do all the good stuff i need the Pi to do when i get back home.
Here's a summary of what has happened so far.
- The Python 3 code for modelling the splitting of the yarrow stalks has been written, but is not yet on Github. This module is called to generate the quantum state of each hexagram line, so six invocations are required.
- I can use SSH and PuTTY to access the Pi without needing a monitor. I don't need xwindows, because i can do everything i need using the command line or the Python interpreter, and the output appears on the PiFaceCAD LCD display.
- The Python code for presenting the initial hexagram outut to the PiFaceCAD and is on GitHub, but i have not managed to work out how to share it, either from GitHub or through this blog. Dropping Python 3 code into this blogging interface has some interesting effects, and is thereby largely unreadable. I also need to work out how to reduce the output to fit in a 16x2 display format (currently i need it to be 17x2).
- The IR remote from my Hauppauge PVR card can now be read by the IR port on the PiFaceCAD, so i am not restricted to the PiFaceCAD switches, although these will be the primary input owing to the massive variety of remotes that the LIRC database has records for.
Key pointsmfor this week are:
- Menu structure for the PiFaceCAD LCD screen.
- Using interrupts to trigger transition between menus when PiFaceCAD switches are pressed.
- Investigate file sharing options from GitHub or other locations in the Cloud.
No pix this time, sorry.