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.Threading; | |
using Microsoft.SPOT.Hardware; | |
public class SoftwarePWMPort : OutputPort | |
{ | |
private bool OffState; | |
public SoftwarePWMPort(Cpu.Pin portID, bool initialState) | |
: base(portID, initialState) | |
{ | |
_t = new Thread(modulate); |
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
public sealed class Comparable<T> : IComparable<Comparable<T>>, IComparable<T>, IEquatable<Comparable<T>>, | |
IEquatable<T> where T : IComparable<T> | |
{ | |
/// <summary> | |
/// Determines whether the specified <see cref="T:System.Object"/> is equal to the current <see cref="T:System.Object"/>. | |
/// </summary> | |
/// <returns> | |
/// true if the specified object is equal to the current object; otherwise, false. | |
/// </returns> | |
/// <param name="obj">The object to compare with the current object. </param> |