I hereby claim:
- I am zerotri on github.
- I am zerotri (https://keybase.io/zerotri) on keybase.
- I have a public key whose fingerprint is 093E A5CE 3495 52E0 6B89 A88E 7341 81D1 40F2 77DA
To claim this, I am signing this object:
| // Serial Servo | |
| // by Paul H. Dietz, 4/22/2014 | |
| // | |
| // Allows an Arduino UNO to act like a Scott Edwards Mini Serial Servo Controller. | |
| // | |
| // Data Format: | |
| // | |
| // 9600 baud, 8-N-1 | |
| // | |
| // Sync byte (255), Servo Num (2-13), Postion (0-254) |
I hereby claim:
To claim this, I am signing this object:
| #include <math.h> | |
| #include <iostream> | |
| class Vector | |
| { | |
| public: | |
| float x; | |
| float y; | |
| // constructor |
| <?php | |
| class Socket | |
| { | |
| private $sock; | |
| public function __construct() | |
| { | |
| $this->sock = socket_create(AF_INET, SOCK_STREAM, SOL_TCP); | |
| if(!$this->sock) | |
| throw new Exception("Socket.create() failed; reason: " . socket_strerror(socket_last_error($this->sock)) . "\n"); |
| <?php | |
| class Socket | |
| { | |
| private $sock; | |
| public function __construct() | |
| { | |
| $this->sock = socket_create(AF_INET, SOCK_STREAM, SOL_TCP); | |
| if(!$this->sock) | |
| throw new Exception("Socket.create() failed; reason: " . socket_strerror(socket_last_error($this->sock)) . "\n"); | |