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
int incomingByte; // a variable to read incoming serial data into | |
int pwm_a = 5; //PWM control for motor outputs 1 and 2 | |
int pwm_b = 9; //PWM control for motor outputs 3 and 4 | |
int dir_a = 4; //direction control for motor outputs 1 and 2 | |
int dir_b = 8; //direction control for motor outputs 3 and 4 | |
void setup() { | |
// Initialize serial communication on UART TX/RX | |
Serial.begin(9600); |
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
#!/usr/bin/env python | |
# -*- coding: utf-8 -*- | |
""" | |
move_photos.py | |
================== | |
Created by: hbldh <henrik.blidh@nedomkull.com> | |
Created on: 2015-12-03, 22:34 | |
""" |
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
#!/usr/bin/env python | |
# -*- coding: utf-8 -*- | |
""" | |
:mod:`subprocess_thread` | |
======================== | |
.. module:: subprocess_thread | |
:platform: Unix, Windows | |
:synopsis: |
NewerOlder