Settings for security add a new user
$ sudo adduser ngems-koji
type password
add a new user to sudo group
// things in javascript | |
// numbers, strings, booleans, objects, functions | |
// array associates numbers to values | |
var list = ["Ramsey", 12, {inArray:true, lol:"I know"}] | |
// object associates names to values | |
var me = {name: "Ramsey", teaching: true} | |
me.name // "Ramsey" | |
me.teaching // true |
/* | |
* This sketch illustrates how to set a timer on an SAMD21 based board in Arduino (Feather M0, Arduino Zero should work) | |
* It should generate a 1Hz square wave as it is (thanks richdrich for the suggestion) | |
* Some more info about Timer Counter works can be found in this article: | |
* http://www.lucadavidian.com/2017/08/08/arduino-m0-pro-il-sistema-di-clock/ | |
* and in the datasheet: http://ww1.microchip.com/downloads/en/DeviceDoc/SAM_D21_DA1_Family_DataSheet_DS40001882F.pdf | |
*/ | |
uint32_t sampleRate = 1000; //sample rate in milliseconds, determines how often TC5_Handler is called |
Settings for security add a new user
$ sudo adduser ngems-koji
type password
add a new user to sudo group