Main Site Documentation

Do i need to use OutputCompare for this?



i need to toggle a pin in the following way:

00 01 00 00 01 00 01 01 01 01 00 01 0

0 = 400uS high and 956uS low
1 = 1100uS high and 356uS low

Is this a job for OutputCompare? If so, can someone explain me how


Only OutputCompare and only GHI can make this happen on NETMF :slight_smile:

Put these numbers in an array and pass them on to output compare object, that is all you have to do.

You can look at our existing driver code to see how we simulate UART using output compare
See this

PS: This is the first time I use FEZer for support and I think it is very exciting. Good job GHI :slight_smile:


You might look at the servo driver, it should explain it pretty well in code for you.