0
Offline
Newbie
Karma: 0
Posts: 7
Arduino rocks
|
 |
« on: April 21, 2010, 08:23:45 pm » |
Hey All, I've just made a single-page arduino cheat sheet! I've managed to cram in every function and syntax listed in the extended reference on one page, as well as some specs on common chips and pinouts. PDF and editable visio copy here: http://sites.google.com/site/mechatronicsguy/arduinocheatsheetCheers, Gavin
|
|
|
|
|
Logged
|
|
|
|
|
0
Offline
Jr. Member
Karma: 0
Posts: 70
Arduino rocks
|
 |
« Reply #1 on: April 21, 2010, 10:19:21 pm » |
Very good, can function as didactic material support! Excellent work
|
|
|
|
|
Logged
|
|
|
|
|
0
Offline
Sr. Member
Karma: 0
Posts: 388
|
 |
« Reply #2 on: April 21, 2010, 11:32:45 pm » |
Really nice job, Gavin. Nicely formatted too.
Suggestions:
Control Structures section (2nd) case, (2nd) break, default to be bold font?
Compound Operators section [glow]*[/glow]= (compound multiplication)
Analog I/O section analogWrite(pin, value) [glow]//[/glow] PWM
Bits and Bytes section bitn: 0=LSB, 7=MSB
Libraries: Serial int available() int read()
Servo attach(pin[glow], [min[/glow]_uS, max_uS])
Hardware chart (in the upper right corner) Nano has 8 analog input pins, not 6
[edit]Constants section 2.4e5 // 24[glow]0[/glow]000 (and without the ',' for international use (European decimal mark))[/edit]
|
|
|
|
« Last Edit: April 21, 2010, 11:59:18 pm by TBAr »
|
Logged
|
|
|
|
|
Global Moderator
Dallas
Offline
Shannon Member
Karma: 129
Posts: 10379
|
 |
« Reply #3 on: April 21, 2010, 11:53:49 pm » |
editable visio copy Are you encouraging others to make changes? If the answer is yes, I suggest providing brief instructions on the process.
|
|
|
|
|
Logged
|
|
|
|
|
0
Offline
Newbie
Karma: 0
Posts: 7
Arduino rocks
|
 |
« Reply #4 on: April 22, 2010, 12:28:23 am » |
Thanks for the suggestions TBAr! I've launched version .02b to cover them. Also figured out the intricacies of my PDF generator. You can now read the small pinouts. @Coding Badly: I put the visio file there so that people who want to change it have something more friendly than PDF. I'd prefer to implement suggested changes myself and keep the latest-and-greatest file in the same place. However it's all C.C. stuff, so anyone that wants to take it is welcome to 
|
|
|
|
|
Logged
|
|
|
|
|
0
Offline
Sr. Member
Karma: 0
Posts: 388
|
 |
« Reply #5 on: April 22, 2010, 01:08:12 am » |
You're too quick, Gavin.  I thought I would catch you with my edited 1st post above before you saw it and reacted to it. 2.4e5 = 240,000, not 245,000 (which is 2.45e5). The ',' remark was only a suggestion anyway, most Europeans will not be bothered by it. Sorry to give you more work because of my edited post instead of posting anew. :-[
|
|
|
|
|
Logged
|
|
|
|
|
0
Offline
Newbie
Karma: 0
Posts: 7
Arduino rocks
|
 |
« Reply #6 on: April 22, 2010, 01:13:17 am » |
*laughs* Yep, I saw your edits too late TBAr.
I've now made the change to my copy of the visio and I'll roll it out with the next round of suggestions.
I'm toying with the idea of doing an inkscape sheet next... Cheers, Gavin.
|
|
|
|
|
Logged
|
|
|
|
|
France
Offline
Edison Member
Karma: 13
Posts: 1841
There is an Arduino for that
|
 |
« Reply #7 on: April 22, 2010, 02:32:00 am » |
I'm toying with the idea of doing an inkscape sheet next... Great idea and much more in the spirit of CC
|
|
|
|
|
Logged
|
|
|
|
|
Offline
Full Member
Karma: 0
Posts: 125
|
 |
« Reply #8 on: April 22, 2010, 11:09:08 am » |
Hi, and Thanks! Thats a great reference.
|
|
|
|
|
Logged
|
|
|
|
|
Dresden / Germany
Offline
Sr. Member
Karma: 3
Posts: 451
Entwicklungsklaus
|
 |
« Reply #9 on: April 22, 2010, 11:12:34 am » |
Yeah, thats cool!
Go on!!!!!!
Thank you for your work!
Greetings ChrisS
|
|
|
|
|
Logged
|
|
|
|
|
Western New York, USA
Offline
Faraday Member
Karma: 17
Posts: 3507
|
 |
« Reply #10 on: April 22, 2010, 12:31:17 pm » |
Gavin:
The I2C diagram, as simple as it is, can easily be misinterpreted. This is a bit hard to describe without a drawing but here goes. On the SCL and SDA lines the horizontal lines to the right of the resistors should end at the bottom of the vertical lines going to Vcc. Or, better yet, the resistors themselves should just replace the vertical lines. As it is drawn now you have three Vcc lines above the ground on the right side of the drawing.
Don
|
|
|
|
« Last Edit: April 22, 2010, 12:32:51 pm by floresta »
|
Logged
|
|
|
|
|
0
Offline
Newbie
Karma: 0
Posts: 2
Arduino rocks
|
 |
« Reply #11 on: April 24, 2010, 03:03:43 pm » |
Really nice! It's very helpful
|
|
|
|
|
Logged
|
|
|
|
|
London, England
Offline
Edison Member
Karma: 3
Posts: 1026
Go! Go! Arduinoooo !!!
|
 |
« Reply #12 on: April 27, 2010, 02:32:16 am » |
It's good, but the image is in too low a resolution for print. If I blow it up to A4 and print it out it looks crap.
|
|
|
|
|
Logged
|
|
|
|
|
U of A, Tucson, AZ
Offline
Full Member
Karma: 0
Posts: 164
Hello World
|
 |
« Reply #13 on: April 27, 2010, 11:40:50 am » |
There's a PDF link at the bottom of that page that's printable. The link on the image should just go right to that PDF I think.
|
|
|
|
|
Logged
|
|
|
|
|
London, England
Offline
Edison Member
Karma: 3
Posts: 1026
Go! Go! Arduinoooo !!!
|
 |
« Reply #14 on: April 28, 2010, 01:36:33 am » |
Ahh I didn't spot that. That's perfect. Thanks.
|
|
|
|
|
Logged
|
|
|
|
|
|