Main Site Documentation

Where I can find examples references?


#1

Hi.

I have recieved my FEZ Ultimate Kit. I have many questions but please help me solve the basic problems I have forst.

I followed all the setup and tests in the First Project page: http://wiki.tinyclr.com/index.php?title=First_Project and all went well.

Now I want to implement for my project:

  1. Audio recording, I want to deploy Usage Example: http://code.tinyclr.com/project/330/fez-music-shield/.
  2. Setting up a web server, I want to deploy TCP / Web Server: http://wiki.tinyclr.com/index.php?title=TCP_/_Web_Server_Tutorial

My problem is I did not find many refrences like:

GHIElectronics.NETMF.FEZ.Shields
System.Threading


System.Net.Sockets

I went to: C:\Program Files\GHI Electronics\GHI NETMF v4.1 SDK\Assemblies

Also in .NET in Refrences options.

Although I am sure all is updated, I checked my Release Notes and its NETMF SDK for NETMF v4.1

how can I update so that the references in the examples be in the references menu?.

Also in web server example it said FEZ_Cobra_TCP_test does this mean I can or can’t use on Fez II?

Thank you.


#2

Right-Click References -> Add Reference.

using GHIElectronics.NETMF.etc

#3

Thank you Skewworks,

I know, please see attachment image, there is no:

GHIElectronics.NETMF.FEZ.Shields
System.Threading


System.Net.Sockets

How can I add them.

Thank you


#4

GHIElectronics.NETMF.FEZ.Shields is the namespace of the driver as I told you yesterday (the driver for the music shield).

To be able to use Threads, you just add on top of your cs file: using System.Threading;

System.Net and System.Net.Socket are both in the System namespace, so add a reference to System,
and add the using statements.


#5

Thank you Eric,

I did the following:

  1. I add a calss and copy the Source Code: from http://code.tinyclr.com/project/330/fez-music-shield/ and name it GHIElectronics.NETMF.FEZ.Shields

  2. Then I make a project and edit Program.cs and copy and paste Usage Example from http://code.tinyclr.com/project/330/fez-music-shield/ and name it GHIElectronics.NETMF.FEZ.Shields

Then I deploy using Transport USB and Device USBizi.

Please tell me what did I do wrong.

Thank you.


#6

Or please give a link which lay down step by step how to implement the codes for Fez II.

Thank you again.


#7

[ol][li]Create a new Fez Panda II Console project[/li]
[li]Copy the source code from http://code.tinyclr.com/project/330/fez-music-shield/ [/li]
[li]Right click your project and add class[/li]
[li]Ctrl A (select all)[/li]
[li]Press Delete[/li]
[li]Ctrl V (paste)[/li]
[li]save[/li]
[li]Double click program.cs[/li]
[li]Replace the code inside Public static void Main() with the code inside Public static void Main() from the usage example: http://code.tinyclr.com/project/330/fez-music-shield/[/li]
[li]below you Main() { … } add the rest of the code from the usage example http://code.tinyclr.com/project/330/fez-music-shield/[/li]
[li]Go to you project properties, .Net Microframework tab, set Transport to USB, set Device to USBizi_USBizi[/li]
[li]Hit F5 real hard[/li][/ol]


#8

Thank you Eric, I really appreciate your patience with me.


#9

Eric is the support star of this month. Much appreciated my friend :slight_smile:


#10

Just trying to help this wonderful community where I can.