element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • Members
    Members
    • Benefits of Membership
    • Achievement Levels
    • Members Area
    • Personal Blogs
    • Feedback and Support
    • What's New on element14
  • Learn
    Learn
    • Learning Center
    • eBooks
    • 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
    • Project14
    • Arduino Projects
    • Raspberry Pi Projects
    • Project Groups
  • Products
    Products
    • Arduino
    • Dev Tools
    • Manufacturers
    • Raspberry Pi
    • RoadTests & Reviews
    • Avnet Boards Community
    • Product Groups
  • 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
Personal Blogs
  • Members
  • More
Personal Blogs
Legacy Personal Blogs Looking for old code
  • Blog
  • Documents
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Blog Post Actions
  • Subscribe by email
  • More
  • Cancel
  • Share
  • Subscribe by email
  • More
  • Cancel
Group Actions
  • Group RSS
  • More
  • Cancel
Engagement
  • Author Author: grondak
  • Date Created: 18 Aug 2019 2:10 AM Date Created
  • Views 405 views
  • Likes 6 likes
  • Comments 3 comments
Related
Recommended

Looking for old code

grondak
grondak
18 Aug 2019

I spent the afternoon looking for some code I wrote in 2013. I'm glad I found it. Is a little C++ to interface the Beagle Bone (any) to the Adafruit 16-channel, 12 bit PWN servo driver board- the PCA9685- over I2C. I then tried the old upgrade trick on my BBB. It turned out that the device is an A6 model with only 2GB storage in the eMMC, not 4GB like the Rev C production models. I will probably clean that code up and post it to github once it's all pretty.

  • Sign in to reply

Top Comments

  • grondak
    grondak over 3 years ago +3
    I reconnected the board to the BeagleBone and everything works as planned. Makes cleaning up a lot easier!
  • dubbie
    dubbie over 3 years ago +2
    Every now and then I look up old code. Sometimes I can find it and sometimes I cannot. Where does old code go as I am sure I never delete anything? Maybe it lurks in some long forgotten or unknown directory…
  • grondak
    grondak over 2 years ago

    Here's the code!

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • dubbie
    dubbie over 3 years ago

    Every now and then I look up old code. Sometimes I can find it and sometimes I cannot. Where does old code go as I am sure I never delete anything? Maybe it lurks in some long forgotten or unknown directory on the hard drive. Then I can never remember how it works - even though I follow some software engineering practices with structuring and commenting. Sometimes I look through the comments and have a good laugh at my thought processes as displayed. I always remember one small fragment to do with outputting text to a line printer (*yes, it was that long ago) written in Visual Basic (a fun language when you've been used to assembler). I was fighting VB, serial communications and the printer all at the same time. eventually I stumbled on a solution that worked and the comment was along the lines of 'I have no idea why this works, but it does'.

     

    Dubbie

    • Cancel
    • Vote Up +2 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • grondak
    grondak over 3 years ago

    I reconnected the board to the BeagleBone and everything works as planned. Makes cleaning up a lot easier!

    • Cancel
    • Vote Up +3 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 © 2023 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

  • Facebook
  • Twitter
  • linkedin
  • YouTube