This file contains hidden or 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
/** | |
* Author Milan Divkovic | |
* | |
* You can control the motor with following commands: | |
* 0: Disables the motor | |
* 1: Enables the motor | |
* + or -: Increase or decrease speed in respect to rotation direction | |
*/ | |
#include <Arduino.h> |
This file contains hidden or 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
<?php | |
namespace App\Controller; | |
use Zend\Http\Request; | |
use Zend\Mvc\Controller\AbstractActionController; | |
use Zend\View\Model\ViewModel; | |
class SomeController extends AbstractActionController | |
{ |
This file contains hidden or 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
<?php | |
$subSelect = new Select(); | |
$subSelect | |
->from(['head_parent' => $this->config->getTable()]) | |
->columns([]) | |
->join( | |
['parent' => $this->config->getTable()], | |
new Expression( | |
'?.? >= ?.? AND ?.? < ?.?', |