FEZ Rhino - Ethernet Connection

Hi, I have a sill question but I couldn’t figure out how to solve here it is,
I have FEZ-Rhino OEM and it has already ethernet module in it, so I tried to use it with code sample shown here


But there is a code block like this

WIZnet_W5100.Enable(SPI.SPI_module.SPI1, (Cpu.Pin)FEZ_Pin.Digital.Di10,(Cpu.Pin)FEZ_Pin.Digital.Di7, true);

It gives me an error that FEZ_Pin.Digital enum doesn’t have Di10 or Di7 pins, there are pin only starts with IO , UTEXT, LDR and LED, that’s all. Am I missing referance? I’ve already included these assemblies

using System;
using System.Threading;

using Microsoft.SPOT;
using Microsoft.SPOT.Hardware;

using GHIElectronics.NETMF.FEZ;
using GHIElectronics.NETMF.Hardware;

using GHIElectronics.Graphics.Simple128x64;

using GHIElectronics.NETMF.Net;
using GHIElectronics.NETMF.Net.Sockets;
using GHIElectronics.NETMF.Net.NetworkInformation;
using System.Text;
using Socket = GHIElectronics.NETMF.Net.Sockets.Socket;

Thank you for any help.

Rhino an Arduino-form factor Fez boards have different pin enumerations.

I told you, it was silly ^^

I’ve changed it with this and worked.

WIZnet_W5100.Enable(SPI.SPI_module.SPI1, (Cpu.Pin)38, (Cpu.Pin)67,true);

Thank you.

You are welcome!