Busy. Please wait.

show password
Forgot Password?

Don't have an account?  Sign up 

Username is available taken
show password


Make sure to remember your password. If you forget it there is no way for StudyStack to send you a reset link. You would need to create a new account.
We do not share your email address with others. It is only used to allow you to reset your password. For details read our Privacy Policy and Terms of Service.

Already a StudyStack user? Log In

Reset Password
Enter the associated with your account, and we'll email you a link to reset your password.

Remove Ads
Don't know
remaining cards
To flip the current card, click it or press the Spacebar key.  To move the current card to one of the three colored boxes, click on the box.  You may also press the UP ARROW key to move the card to the "Know" box, the DOWN ARROW key to move the card to the "Don't know" box, or the RIGHT ARROW key to move the card to the Remaining box.  You may also click on the card displayed in any of the three boxes to bring that card back to the center.

Pass complete!

"Know" box contains:
Time elapsed:
restart all cards

Embed Code - If you would like this activity on your web page, copy the script below and paste it into your web page.

  Normal Size     Small Size show me how

Programming Terms

int integer (no decimals) [data type]
unsigned int no negative numbers [data type]
long ranges from -2M to 2M (more memory than int) [data type]
float allows decimals [data type]
byte 0-255 (less memory than int) [data type]
boolean true(1, high)/false(0,low) [data type]
char allows for ASCII [data type]
// loram ipsum makes comments on single lines
/* loram ipsum */ makes comments on multiple lines
; statement is finished
{ } execute only under specific circumstances
function performs task
data type specifies what can go into variable
digitalWrite(_,_) pin#, state (high vs low); turns on/off pin [function]
digitalRead(_) pin#, check state and return value [function]
millis() no argument needed, takes millisecond sketch has been in place
setup() {} critical function, no argument; no return (runs what's in curly bracket one time) [function]
loop() { } critical function, no argument; returns (runs what's in curly brackets repeatedly) [function]
void goes in front of setup() and loop() or other functions; means it does not return.
pinMode(_,_) sets the pin as input or output (#, input/output)
delay(_) allows you to set delay to remain in a state in milliseconds
GND should be connected to cathode (short side)
cathode shorter side of LED
anode longer side of LED
variable { } global variable, in place for entire code, more memory
{ variable } local variable, in place only for { }, less memory
duty cycle 0, 64, 128, 192, 255 (0-100% of voltage); used in analogWrite(#, _)
PWM pulse width modulation; switches voltage quickly
hard coded numbers use variables instead
how to set variable datatype name = number
most common baud rate 9600
Serial.begin(_) used to set baud (typically 9600)
Serial.print("_") used to put text on the serial monitor
Serial.println(_) used to display return on serial monitor but returns a new line
Serial monitor displays data return of the circuitboard
Multiple components require GND GND to - on circuit board, jumper wires to -
Multiple components requiring power Power to +, jumper wires to +
resistors connect to power
analogWrite(_,_) takes pin number and duty cycle; sets voltage level through duty cycle
II boolean operator for if statements for "or"
&& boolean operator for if statements for "and"
! boolean operator for if statements for "not"
>= comparison operator for "greater than or equal to"
<= comparison operator for "less than or equal to"
== comparison operator for "equal to"
!= comparison operator for "not equal to"
Created by: anitbebe