Pages: [1]   Go Down
Author Topic: Arduino Programming Cheat Sheet  (Read 3841 times)
0 Members and 1 Guest are viewing this topic.
Offline Offline
Newbie
*
Karma: 0
Posts: 2
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Hi all,

I'm going to be teaching a college course next May using Arduino, and I wanted a nice "cheat-sheet" poster to put up in the room where we'll be working.  I found this one posted in the old forum last year and an SVG version posted later in the thread.  They were pretty good, so I've taken those and modified the design a bit: different layout, targeted more toward beginners and programming, and a bunch of small tweaks here and there.

You can download a PDF of the cheat sheet, and the SVG source is hosted in a Github repository.

I hope it's useful for others, and please let me know if you see any errors or have other suggestions.  Thanks!
Logged

Manchester (England England)
Offline Offline
Brattain Member
*****
Karma: 626
Posts: 34114
Solder is electric glue
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

That is great, it should be a good asset.

The only minor quibble I have (and it is minor) is that the Serial.begin() can take any number not just those given. For example I use:-
  Serial.begin(31250);
to generate the right speed for MIDI.
Logged

nr Bundaberg, Australia
Offline Offline
Tesla Member
***
Karma: 126
Posts: 8512
Scattered showers my arse -- Noah, 2348BC.
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Well designed, looks good.

______
Rob
Logged

Rob Gray aka the GRAYnomad www.robgray.com

Offline Offline
Newbie
*
Karma: 0
Posts: 2
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Thanks for the feedback!  I updated some of the library sections, especially the serial comm sections.

Github isn't taking the new file correctly, it seems, so the direct download might not update right now, but the PDF in the repository should be the latest.
Logged

Ensenada, Mexico
Offline Offline
Newbie
*
Karma: 0
Posts: 18
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

great job liffiton!

I made a spanish translation and adaptation to letter size for printing, this is the repo: https://github.com/antonio-m/Acordeon-arduino
Logged

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

Code:
SoftwareSerial (serial comm. on any pins)
  (#include <softwareSerial.h>)
SoftwareSerial(rxPin, txPin)
  // select rx and tx pins
begin(long Speed) // up to 9600

Although the info might be correct the use of SoftwareSerial is depreciated, use NewSoftSerial instead. It supports baudrates up to 115200.

that said, great job!
Logged

Rob Tillaart

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

Global Moderator
Dallas
Online Online
Shannon Member
*****
Karma: 206
Posts: 12896
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Quote
randomSeed(seed) // long or int
Minor problem...
void randomSeed(unsigned int);

Very nice.
Logged

Pages: [1]   Go Up
Jump to: