Go Down

Topic: print.h in /cores/arduino and /cores/tiny (Read 826 times) previous topic - next topic

pjakobs

forgive me for cross-referencing this with the Microcontrollers subforum, but I was wondering if someone could enlighten me what was changed where:

http://arduino.cc/forum/index.php/topic,108841.0.html

in short: the print.h functions are *void* in the tiny libraries but *size_t* in the libraries that come with Arduino 1.01

Any suggestion on why this divergence might be?

Steph

I believe that was one of the changes made when version 1.0 was released - the write function that is the heart of all the print functions were changed to returning size_t at that time.

Coding Badly

Quote
Any suggestion on why this divergence might be?


Because Tiny Core version 2 is not finished.

pjakobs

I understand. I fear my C-abilities are not up to par to *really* do some useful work, but I'd offer to help & debug.

Coding Badly


Thank you for the offer.  If I can remember, I'll let you know when a new version is ready.

Or, you can subscribe to an RSS feed and Google Code will notify you...
http://code.google.com/p/arduino-tiny/feeds

Downloads or Source Changes are the best choices.

Go Up
 

Quick Reply

With Quick-Reply you can write a post when viewing a topic without loading a new page. You can still use bulletin board code and smileys as you would in a normal post.

Warning: this topic has not been posted in for at least 120 days.
Unless you're sure you want to reply, please consider starting a new topic.

Note: this post will not display until it's been approved by a moderator.
Name:
Email:

shortcuts: alt+s submit/post or alt+p preview