Main Site Documentation

Can't get assemblies


#1

Hey,

I use the GHI premium NETMF V4.2 SDK
But I don’t have a lot assemblies.
I only have the GHI.premium and the GHI hardware assemblies

I need the FEZ_cobra_GHIElectronics.NETMF.FEZ.dll
Microsoft.SPOT
mscorlib

Where can I find them? It must be version 4.2.0.0 or higher


#2

Can you show the screenshot of your add reference dialog?


#3

I see I have mscorlib. But I can’t add it. I click on it but nothing happen.

I have a program from someone als but he uses the old version. But I need the new ones but I can’t Instal them


#4

Ok, the problem is that you are mixing assemblies from different SDKs. Cobra assembly is from 4.1. Other assemblies are from 4.2. What version of the firmware is on your board?


#5

@ Architect - I updated my board to 4.2.11.1


#6

Ok. Please don’t use Cobra assembly. It is from 4.1 SDK.


#7

So I can’t work with 4.2? I need to do everything with 4.1?


#8

So I better can use 4.1?
I use the touchpanel.
There has to be a webcam connected en 5 temperature sensors in a 1 wire connection and have to put everyting online so we can change sensors online


#9

@ andre.m - I am looking for the 4.2 assemblies


#10

You can use whatever matches the firmware on your device. It is 4.2 now. It is better to use 4.2 since it is the most recent release.


#11

@ Architect - But where can I find the 4.2 assemblies?


#12

@ serneels - In the add reference dialog that you showed earlier it shows that you have all the 4.2 assemblies.


#13

The FEZCobra_GHIElectronics.NETMF.FEZ was from the program that I get from someone that made someting in 4.1. But I don’t have the assembly in my PC


#14

That assembly is not in 4.2 anymore. Can you show your code?


#15

//FEZ_Cobra_Console_Application_I2C on DS1631 sensor I2C1
using System;
using System.Threading;
using Microsoft.SPOT;
using Microsoft.SPOT.Hardware;
using GHIElectronics.NETMF.FEZ;

namespace FEZ_Cobra_Console_Application_I2C
{
public class Program
{
public static void Main()
{
byte[] conT = new byte[1];
byte[] readrom = new byte[1];
byte[] rx = new byte[2];
I2CDevice.Configuration con = new I2CDevice.Configuration(0X49, 100);
I2CDevice IC1 = new I2CDevice(con);
I2CDevice.I2CTransaction[] Tcon = new I2CDevice.I2CTransaction[1];
I2CDevice.I2CTransaction[] tempread = new I2CDevice.I2CTransaction[2];
conT[0] = 0X51;
Tcon[0] = I2CDevice.CreateWriteTransaction(conT);
readrom[0] = 0xAA; //read temperature
tempread[0] = I2CDevice.CreateWriteTransaction(readrom);
tempread[1] = I2CDevice.CreateReadTransaction(rx);
while (true)
{
IC1.Execute(Tcon, 1000);
Thread.Sleep(750);
IC1.Execute(tempread, 1000);
Debug.Print(“temperatuur I2C1: " + rx[0]);
Debug.Print(” ");
Thread.Sleep(1000);
}
}
}
}


#16

You code is not using it.

You can safely remove:

using GHIElectronics.NETMF.FEZ; 

and the reference to that assembly from the project.