Main Site Documentation

Cobra II wifi


#1

How can I initialize wifi on Cobra II.
I can not find G120 class in latest release. (https://www.ghielectronics.com/docs/318/fez-cobra-ii-developers-guide)
netif = new WiFiRS9110(SPI.SPI_module.SPI2, G120.P1_10, G120.P2_11, G120.P1_9);

This pins are not correct:
netif = new WiFiRS9110(SPI.SPI_module.SPI1, Cpu.Pin.GPIO_Pin1, Cpu.Pin.GPIO_Pin2, Cpu.Pin.GPIO_Pin3);
from https://www.ghielectronics.com/docs/30/networking


#2

Take a look at this post and codeshare entry https://www.ghielectronics.com/community/forum/topic?id=16936

then use
wifi = new WiFiRS9110(Microsoft.SPOT.Hardware.SPI.SPI_module.SPI2, G120.P1_10, G120.P2_11, G120.P1_9, 4000);


#3

@ Makla - The G120 class can be found in the GHI.Pins assembly.


#4

@ Makla - Wifi = new WiFiRS9110(SPI.SPI_module.SPI2,GHI.Pins.G120.P1_27 , GHI.Pins.G120.P2_13, GHI.Pins.G120.P1_28, 4000);

[EDIT] oeps… last post was 4 days ago, problem long solved i guess… maybe activate the option topic answered again :stuck_out_tongue: