Blog > Arduino import libraries > Importing Arduino Libraries

Home Forums 12Blocks Importing Arduino Libraries

This topic contains 3 replies, has 2 voices, and was last updated by  Anonymous .

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #12340

    Anonymous

    My daughter and I are building a robot together, and I’d love to use 12blocks to introduce her to programming. Our robot is using an Arduino Uno, the CMDR motor control board from Solarbotics, the WaveHC shield from Adafruit, and a bunch of other sensors.

    I had added a comment to the Arduino blog entry regarding importing Arduino libraries into 12blocks, and Hanno suggested importing the .h file which would make the various public functions available. Unfortunately, I can’t seem to get it to work in either the PC or Mac version of 12blocks.

    Is there anything else I need to do? Place the libraries in a special folder? Add a line or two to the .h file?

    Thanks!

    #12341

    Anonymous

    Nevermind, I was using the wrong version of 12blocks. I was still using 2.5x. It worked fine in 2.71.

    So next question: has anyone tried multitasking on the Arduino via 12blocks? I came across this nifty library, ave-os, that seems to make the task easier:

    http://www.chrismoos.com/2012/12/05/avr-os-multitasking-on-arduino

    It doesn’t import like a “normal” Arduino library, but I thought it would make for a neat feature (once I can get it running)…

    #12346

    Anonymous

    Not trying to jack the thread but where do I get a version 2.71?

    #12348

    Anonymous

    Right here:

    http://onerobot.org/download/12blocks271.exe

    I’m not sure why this version isn’t listed on the main download page, but there you go.

Viewing 4 posts - 1 through 4 (of 4 total)

You must be logged in to reply to this topic.