element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • About Us
  • 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 Boards Community
    • Dev Tools
    • Manufacturers
    • Multicomp Pro
    • Product Groups
    • Raspberry Pi
    • RoadTests & Reviews
  • 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
CodeBug
  • Learn
  • Learning Center
  • STEM Academy
  • CodeBug
  • More
  • Cancel
CodeBug
Blog CodeBug 'show n tell' - Spinny blocks
  • Blog
  • Forum
  • Documents
  • Events
  • Polls
  • Files
  • Members
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Join CodeBug to participate - click to join for free!
  • Share
  • More
  • Cancel
Group Actions
  • Group RSS
  • More
  • Cancel
Engagement
  • Author Author: Former Member
  • Date Created: 29 Sep 2015 3:59 AM Date Created
  • Views 3404 views
  • Likes 10 likes
  • Comments 31 comments
  • codebug
  • codebug_intermediate
Related
Recommended

CodeBug 'show n tell' - Spinny blocks

Former Member
Former Member
29 Sep 2015

Spinny Blocks

image

A CodeBug had made itself at home in my mail this morning; so I took the little guy in and decided to look after him!

 

Above is the CodeBug simulator showing a short sprite animation, you can see the animation running on a live CodeBug in the video below. All was done in the 'blocky' graphical code blocks editor which is intuitive to use and has the option of switching into a traditional text style editor.

 

I haven't tried the text editor yet, hopefully switching between the 2 will preserve true changes (graphical style editors have a habit of erasing or overwriting things entered manually).

 

I'm going to try using the iic and spi port soon but don't think those features have been enabled as yet, there is a download to allow it to act as a slave device but not in conjunction with the programs we can create, hopefully the firmware interpreter will mature overtime to allow things like this and also maybe inline asm or c for adding a bit of efficiency!

 

The mcu is a pic18f2550 and there are pogo pads for reprogramming the pic which opens up the option of using microchips C18 c compiler and programming your own firmware to it with an appropriate pickit programmer of some sort if the interpreter becomes too restrictive, however Im going to work as much with the installed interpreter, even considering trying to get a copy of the hex file so I can put it onto one of the 2550's in my dev box.

 

You don't have permission to edit metadata of this video.
Edit media
x
image
Upload Preview
image

  • Sign in to reply

Top Comments

  • Former Member
    Former Member over 9 years ago in reply to mcb1 +3
    Sometimes going back to basics and being restricted can lead to much more simple and fun things! and generate alternative solutions to problems! Remember that the led's are multiplexed and blinking on…
  • mcb1
    mcb1 over 9 years ago in reply to balearicdynamics +2
    It's a good challenge to do some IoT with these things Perhaps we should leave them as simple easy to program devices. I do wish there was an offline editor, and maybe it will come. Unfortunately the…
  • mcb1
    mcb1 over 9 years ago in reply to gregoryfenton +2
    The comment above disappeared ... I think Enrico has one arriving so problem solved. Mark
Parents
  • gregoryfenton
    gregoryfenton over 9 years ago

    You should have just bought him a codebug image

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • mcb1
    mcb1 over 9 years ago in reply to gregoryfenton

    The comment above disappeared ...

    I think Enrico has one arriving so problem solved.

     

    Mark

    • Cancel
    • Vote Up +2 Vote Down
    • Sign in to reply
    • More
    • Cancel
Comment
  • mcb1
    mcb1 over 9 years ago in reply to gregoryfenton

    The comment above disappeared ...

    I think Enrico has one arriving so problem solved.

     

    Mark

    • Cancel
    • Vote Up +2 Vote Down
    • Sign in to reply
    • More
    • Cancel
Children
No Data
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