Related Setup: https://gist.github.com/hofmannsven/6814278
Related Pro Tips: https://ochronus.com/git-tips-from-the-trenches/
Related Setup: https://gist.github.com/hofmannsven/6814278
Related Pro Tips: https://ochronus.com/git-tips-from-the-trenches/
var a = [] | |
if (abc instanceof Array){ | |
console.log('true') | |
} | |
=> true | |
______________________________ |
//function to uppercase | |
var stri = "hello" | |
console.log(stri.toUpperCase()); | |
//function toFixed | |
var number = 32.444323; | |
console.log(number.toFixed(4)); | |
//hexadecimal notation system | |
var sixthNum = 0xff; |
var myModule = ( function(){ | |
var init = function() { | |
_setUpListeners(); | |
// this is what whould happens imedialty | |
}; | |
var _setUpListeners = function() { | |
//event listener | |
} |
class Dog extends Animal { // inheritance | |
int age; | |
// constructor | |
public Dog(int dogsAge) { | |
age = dogsAge; | |
} |
<?xml version="1.0" encoding="UTF-8"?> | |
<project version="4"> | |
<component name="ProjectLevelVcsManager" settingsEditedManually="false"> | |
<OptionsSetting value="true" id="Add" /> | |
<OptionsSetting value="true" id="Remove" /> | |
<OptionsSetting value="true" id="Checkout" /> | |
<OptionsSetting value="true" id="Update" /> | |
<OptionsSetting value="true" id="Status" /> | |
<OptionsSetting value="true" id="Edit" /> | |
<ConfirmationsSetting value="0" id="Add" /> |
go back through every exercise you have done so far and write down every word and symbol | |
(another name for "character") that you have used. | |
Make sure your list of symbols is complete. | |
Next to each word or symbol, write its name and what it does. | |
print() - The print() function writes the value of the argument(s) it is given | |
# - one line comment | |
""" """ - multiple lines comment | |
+ - addition |
// LED will fade out not just turning on and off | |
int led = 13; | |
int brightness = 0; | |
int fadeAmount = 5; | |
// the setup routine runs once when you press reset: | |
void setup() { | |
// initialize the digital pin as an output. | |
pinMode(led, OUTPUT); |
// the setup routine runs once when you press reset: | |
void setup() { | |
Serial.begin(9600); //creates serial connection; sends text output to a terminal | |
} | |
// the loop routine runs over and over again forever: | |
void loop() { | |
int sensorValue = analogRead(A0); // analog pin zero | |
Serial.println(sensorValue); // print out value - light intensity value |