Pages: [1]   Go Down
Author Topic: Difference b/w print and printin  (Read 900 times)
0 Members and 1 Guest are viewing this topic.
India
Offline Offline
Newbie
*
Karma: 0
Posts: 21
Induino X is awesome!
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

What is the difference between serial.print and serial.printin and what are it's uses?I would like a detailed answer please bcz i'm a learner and am new to this.I own the Induino X the Indian clone of arduino UNO Rev3.For more information on Google it.
Logged

0
Offline Offline
God Member
*****
Karma: 39
Posts: 988
Get Bitlash: http://bitlash.net
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Println puts a linefeed at the end of the printed text so the next printed output will be on a new line.

-br
Logged

Global Moderator
Netherlands
Offline Offline
Shannon Member
*****
Karma: 228
Posts: 14059
In theory there is no difference between theory and practice, however in practice there are many...
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Quote
i'm a learner
Have you already worked yourself through the tutorial section and the reference section of arduino.cc ?
There is a lot of (basic) information to be learned there.

Also the playground has a lot of articles and project examples, but first get your basics right.

Also a good source of information is the source code of the libraries, these can be found where you installed your Arduino SW (depends on platform)
Logged

Rob Tillaart

Nederlandse sectie - http://arduino.cc/forum/index.php/board,77.0.html -
(Please do not PM for private consultancy)

Virginia
Offline Offline
Newbie
*
Karma: 1
Posts: 8
powerfully insane
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Note: Don't search on Google for "serial.printin" or "serial.printIn" (which uses a capital letter i) because "serial.printin" does not exist for our purposes.

Here are links:
http://arduino.cc/en/Serial/Print
http://arduino.cc/en/Serial/Println (which uses a lower-case L, as in "line feed")
Logged

Pages: [1]   Go Up
Jump to: