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
// a first attempt at arduino and C.. | |
// an abstraction for the robodiy robot - only sets speed for now! | |
#include <Servo.h> | |
#include <EEPROM.h> | |
// (only PWM (~) can be written analogous) | |
// attention: int calcs -> include .0 if float calc needed, or append (float) |
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
import { Block, Document } from 'slate' | |
import { getEventTransfer } from 'slate-react' | |
import isContainerNode from '../utils/node/isContainerNode' | |
/* | |
* What generalizes about this example is that thanks to slatejs #2589 paste | |
* behaviour is controlled by the fragment's trunk. | |
*/ | |
const deepestSingleContainer = doc => { | |
// result holds the found container. |