Skip to content

Instantly share code, notes, and snippets.

@ciniml
ciniml / SerialPort.cs
Created January 26, 2020 06:42
Serial port class for Unity on Linux
using System;
using System.Collections.Generic;
using System.Runtime.InteropServices;
using System.Linq;
class SerialPort : IDisposable
{
[DllImport("libc.so.6", EntryPoint="open")]
private static extern int Open(string path, int mode);
@zeha
zeha / gist:5999375
Created July 15, 2013 11:49
gitignore for MPLAB X projects
*.d
*.pre
*.p1
*.lst
*.sym
*.obj
*.o
*.sdb
*.obj.dmp
html/