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
using System; | |
using System.Collections; | |
using System.Collections.Generic; | |
using System.Net.Sockets; | |
using System.Text; | |
using System.Threading; | |
using UnityEngine; | |
public class TCPTestClient : MonoBehaviour { | |
#region private members |
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
#include <SFML/Graphics.hpp> | |
#if _WIN32_WINNT < 0x0501 | |
#define _WIN32_WINNT 0x0501 | |
#endif | |
#include <windows.h> | |
// Set part of the window that can be clicked by removing fully transparent pixels from the region | |
void setShape(HWND hWnd, const sf::Image& image) | |
{ |
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
#include "mbed.h" | |
Serial pc(USBTX,USBRX); | |
DigitalInOut pingPin(p18); | |
Timer tmr; | |
long microsecondsToInches(long microseconds); | |
long microsecondsToCentimeters(long microseconds); |