element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • Community Hub
    Community Hub
    • What's New on element14
    • Feedback and Support
    • Benefits of Membership
    • Personal Blogs
    • Members Area
    • Achievement Levels
  • Learn
    Learn
    • Ask an Expert
    • eBooks
    • element14 presents
    • Learning Center
    • Tech Spotlight
    • STEM Academy
    • Webinars, Training and Events
    • Learning Groups
  • Technologies
    Technologies
    • 3D Printing
    • FPGA
    • Industrial Automation
    • Internet of Things
    • Power & Energy
    • Sensors
    • Technology Groups
  • Challenges & Projects
    Challenges & Projects
    • Design Challenges
    • element14 presents Projects
    • Project14
    • Arduino Projects
    • Raspberry Pi Projects
    • Project Groups
  • Products
    Products
    • Arduino
    • Avnet & Tria Boards Community
    • Dev Tools
    • Manufacturers
    • Multicomp Pro
    • Product Groups
    • Raspberry Pi
    • RoadTests & Reviews
  • About Us
  • Store
    Store
    • Visit Your Store
    • Choose another store...
      • Europe
      •  Austria (German)
      •  Belgium (Dutch, French)
      •  Bulgaria (Bulgarian)
      •  Czech Republic (Czech)
      •  Denmark (Danish)
      •  Estonia (Estonian)
      •  Finland (Finnish)
      •  France (French)
      •  Germany (German)
      •  Hungary (Hungarian)
      •  Ireland
      •  Israel
      •  Italy (Italian)
      •  Latvia (Latvian)
      •  
      •  Lithuania (Lithuanian)
      •  Netherlands (Dutch)
      •  Norway (Norwegian)
      •  Poland (Polish)
      •  Portugal (Portuguese)
      •  Romania (Romanian)
      •  Russia (Russian)
      •  Slovakia (Slovak)
      •  Slovenia (Slovenian)
      •  Spain (Spanish)
      •  Sweden (Swedish)
      •  Switzerland(German, French)
      •  Turkey (Turkish)
      •  United Kingdom
      • Asia Pacific
      •  Australia
      •  China
      •  Hong Kong
      •  India
      •  Korea (Korean)
      •  Malaysia
      •  New Zealand
      •  Philippines
      •  Singapore
      •  Taiwan
      •  Thailand (Thai)
      • Americas
      •  Brazil (Portuguese)
      •  Canada
      •  Mexico (Spanish)
      •  United States
      Can't find the country/region you're looking for? Visit our export site or find a local distributor.
  • Translate
  • Profile
  • Settings
Sci Fi Your Pi
  • Challenges & Projects
  • Design Challenges
  • Sci Fi Your Pi
  • More
  • Cancel
Sci Fi Your Pi
Blog I Ching Blog Week 2
  • Blog
  • Forum
  • Documents
  • Files
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
  • Share
  • More
  • Cancel
Group Actions
  • Group RSS
  • More
  • Cancel
Engagement
  • Author Author: taodude
  • Date Created: 9 May 2015 10:50 PM Date Created
  • Views 564 views
  • Likes 1 like
  • Comments 1 comment
  • pifacecad
  • python
  • i_ching_hexagrams
  • sci_fi_your_pi
  • sci-fi-your-pi
Related
Recommended

I Ching Blog Week 2

taodude
taodude
9 May 2015

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.

  1. 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.
  2. 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.
  3. 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).
  4. 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:

  1. Menu structure for the PiFaceCAD LCD screen.
  2. Using interrupts to trigger transition between menus when PiFaceCAD  switches are pressed.
  3. Investigate file sharing options from GitHub or other locations in the Cloud.

 

No pix this time, sorry.

  • Sign in to reply
  • DAB
    DAB over 10 years ago

    It OK.

     

    There are a number of us who are technology challenged when it comes to these new fangled blog software.

     

    Plus I am personally graphically challenged and dyslexic as well, so take heart, there are viewers who share you pain and frustration.

     

    Just do the best you can, draw pictures by hand and use your web cam to capture a jpg image and you are on your way.  Nothing fancy, but it gets the point across.

     

    DAB

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
element14 Community

element14 is the first online community specifically for engineers. Connect with your peers and get expert answers to your questions.

  • Members
  • Learn
  • Technologies
  • Challenges & Projects
  • Products
  • Store
  • About Us
  • Feedback & Support
  • FAQs
  • Terms of Use
  • Privacy Policy
  • Legal and Copyright Notices
  • Sitemap
  • Cookies

An Avnet Company © 2025 Premier Farnell Limited. All Rights Reserved.

Premier Farnell Ltd, registered in England and Wales (no 00876412), registered office: Farnell House, Forge Lane, Leeds LS12 2NE.

ICP 备案号 10220084.

Follow element14

  • X
  • Facebook
  • linkedin
  • YouTube