cc3000 fastprint vs print

Adafruit Ethernet, Motor, Proto, Wave, Datalogger, GPS Shields - etc!

Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.
Locked
User avatar
jasperp
 
Posts: 50
Joined: Mon May 27, 2013 5:06 am

cc3000 fastprint vs print

Post by jasperp »

Just wanting to know the difference between using fastprint and print when using the cc3000 library and reasons why I would use one over the other.

Currently im outputting HTML to a client browser using a combination and fastprint and print and really want to know the difference and best practices...they both seem to work.

Thanks!

User avatar
adafruit_support_mike
 
Posts: 67446
Joined: Thu Feb 11, 2010 2:51 pm

Re: cc3000 fastprint vs print

Post by adafruit_support_mike »

'print()' is handled through the Arduino library's Print class, which has quite a bit of overhead. 'fastprint()' is optimized to push bytes out with as little overhead as possible.

Locked
Please be positive and constructive with your questions and comments.

Return to “Arduino Shields from Adafruit”