Is there any pragma instruction we can use to conditionally compile modules including the right definitions for each type of hardware?
For instance:
using System;
using System.IO;
using System.IO.Ports;
using System.Threading;
using Microsoft.SPOT;
using Microsoft.SPOT.Hardware;
using SecretLabs.NETMF.Hardware;
#if NetduinoMini
using SecretLabs.NETMF.Hardware.NetduinoMini;
#end
#if NetduinoPlus
using SecretLabs.NETMF.Hardware.NetduinoPlus;
#end
so we can create generic modules?
Pragma #IF Netduino
Started by Dixon, Sep 03 2011 02:49 PM
1 reply to this topic
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users