Simple setup:
I have a LIRC file for IR Remote
begin remote name Minolta_RC3 bits 8 flags SPACE_ENC eps 25 aeps 100 header 3872 1708 one 527 436 zero 527 1331 ptrail 527 pre_data_bits 24 pre_data 0xD3AC7D gap 9052 toggle_bit 0 begin codes one_sec 0x000000000000007F two_sec 0x00000000000000FF end codes end remote
The problem is that LIRC values are in microseconds and I cannot turn irLED on or off for less them 1 millisecond.
For example, bit "1" is LED on for 527 microseconds and then LED off for 436 microseconds:
irLED.Write(true); Thread.Sleep(0.527); irLED.Write(false); Thread.Sleep(0.436);
This doesn't work because Thread.Sleep accepts [int]
Any idea how to wait for x microseconds?
Is there .NET Micro equivalent to Arduino's DelayMicroseconds (http://www.arduino.c...layMicroseconds)