While attempting to get a OneWire temperature sensor working on my new cobra Visual C# kept telling me that “FEZ_Pin.Digital doesn’t contain a definition for Di8” which is used in the example on the wiki. It would also tell me this for the “Di6” used in Chris’s example on fezzer.com
Looking through the object browser at the FEZDomino_GHIElectronics.NETMF.FEZ and FEZCobra_GHIElectronics.NETMF.FEZ assemblies shows that the naming convention between the two boards differs. On the FEZ Cobra they’re simply referred to as “IO6” or “IO8”.
Just a quick question, is this by design or a mistake? At the very least it introduces small stumbling blocks to making your code portable across the various FEZ devices.
Ric