Exemplo n.º 1
0
 public static I2CBus GetInstance()
 {
     lock (LockObject)
     {
         if (_instance == null)
         {
             _instance = new I2CBus();
         }
         return(_instance);
     }
 }
Exemplo n.º 2
0
 public static I2CBus GetInstance()
 {
     lock (LockObject)
     {
         if (_instance == null)
         {
             _instance = new I2CBus();
         }
         return _instance;
     }
 }