This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function printWordsBetweenAngleBrackets(){ | |
let doc = DocumentApp.getActiveDocument(); | |
let body = doc.getBody(); | |
let text = body.editAsText(); | |
// all the documents text as a long string AFAIK | |
let textString = text.getText(); | |
let startToken = false; | |
let tokens = []; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* Code to pulse pin 3 with a (38.4 Khz) modulated signal | |
* Tested on Arduino Uno | |
* Mike Cook Nov 2011 - Released under the Open Source licence | |
* modifications by Senthil Seveelavanan 2015 | |
*/ | |
volatile byte pulse = 0; | |
/* Interrupt service routine to pulse the modulated pin 3 | |
*/ |