#region motion sensor Thread.Sleep(30000); tone = new FEZ_Components.Piezo(FEZ_Pin.PWM.Di5); InterruptPort motion = new InterruptPort((Cpu.Pin)FEZ_Pin.Interrupt.Di1, false, Port.ResistorMode.Disabled, Port.InterruptMode.InterruptEdgeHigh); motion.OnInterrupt += new NativeEventHandler(motion_OnInterrupt); Thread.Sleep(-1); #endregion static void motion_OnInterrupt(uint data1, uint data2, DateTime time) { tone.Play(400, 1000); }
First, create a Samba share on the easiest way. For example, mine: [macbook-pro-14] path =…
I use this and I experiened like this: The branch name is shortened and can't…
I really like IDEA for developing. I worked on a golang project and I organised…
For reusage: docker run -d \-p 8200:8200 \--restart=on-failure:3 \--name minidlna \-v /opt/minidlna/cache:/minidlna/cache \-v /mnt/data/series:/media/series \-v…
On my host the ipv6 is disabled. I had to start a docker image, which…
I have a Conbee II Zigbee receiver. After a restart the USB passthrought stopped working…
This website uses cookies.