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 blinkTime = 100; // Turn on LED for 100 ms after each char received | |
int onTime = -1; | |
void setup() { | |
pinMode(LED_BUILTIN, OUTPUT); | |
Serial.begin(9600); | |
while (!Serial) { | |
; // wait for serial port to connect. Needed for native USB port only | |
} |
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
struct Observation: Identifiable, Codable, FetchableRecord, PersistableRecord { | |
... | |
} | |
public func readDatapoints() -> MLDataTable? { | |
var dataTable: MLDataTable? = nil | |
do { |
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.Runtime.InteropServices; | |
using System.Windows; | |
using System.Windows.Interop; | |
using ToltTech.Integration.Win32; | |
namespace ToltTech.Integration | |
{ | |
public static class GazeAware | |
{ |