- Netduino Forums
- → pascal06's Content
pascal06's Content
There have been 95 items by pascal06 (Search limited from 25-September 23)
#2884 Wrong network addressing breaks netduino plus
Posted by pascal06 on 25 September 2010 - 04:14 PM in Netduino Plus 2 (and Netduino Plus 1)
#2086 Who has a Wiznet W5100-based Ethernet shield?
Posted by pascal06 on 10 September 2010 - 12:55 PM in Netduino 2 (and Netduino 1)
I just receive an offer for MDK, Keil, 3900 euros without taxes !!! Is RVDS cheaper ?Hello Chris,
Next week, I will receive these components :
http://www.coolcompo...uksdbumahtmuqg5
http://www.coolcompo...?products_id=83
W5100 is very nice, but limited (only ipv4, only 4 concurrent connexions ...),
Enc28j60 is more low level, only MAC, but we can use lwIP.
But, lwip seems to be to big to run on Netduino. I will work on uIP instead of lwIP and see if it's possible to run on .net MF ...
My first issue is to be able to compile the firmware. I currently use a eval version of RVDS 4.1 with success, but it's a eval version. With GCC, we probably raise a out of flash memory very quickly
Pascal
Pascal
#2026 Who has a Wiznet W5100-based Ethernet shield?
Posted by pascal06 on 09 September 2010 - 02:39 PM in Netduino 2 (and Netduino 1)
Hello Chris,As requested, we have been working on a few Ethernet options for the Netduino here at Secret Labs.
One of these that's in development is support for the Wiznet W5100-based Ethernet shields. A few forums members indicated that they've also started writing code for it. I'd like to see if we can get everyone on the same track so we can leverage each other's efforts.
I don't have any data on the stability of the chip for networking. I can say that we have completed the first portion of the support--but are still fleshing out the TCP and UDP support.
Here's what user setup code looks like so far (I just tested it on my home network):
// configure our wiznet chip SecretLabs.NETMF.Net.WiznetChip wiznet = new SecretLabs.NETMF.Net.WiznetChip(Pins.GPIO_PIN_D10); // configure our IP settings NetworkInterface networkInterface = NetworkInterface.GetAllNetworkInterfaces()[0]; networkInterface.PhysicalAddress = new byte[] { 0x01, 0x23, 0x45, 0x67, 0x89, 0x01 }; networkInterface.EnableStaticIP("10.0.1.12", "255.255.255.0", "10.0.1.1");Pretty simple, and compatible with the .NET MF networking object model.
Please note that this is all beta, subject to change, subject to abandonment, etc. We only want to ship things that are stable--and we're not far enough along to make that call yet...
Chris
Next week, I will receive these components :
http://www.coolcompo...uksdbumahtmuqg5
http://www.coolcompo...?products_id=83
W5100 is very nice, but limited (only ipv4, only 4 concurrent connexions ...),
Enc28j60 is more low level, only MAC, but we can use lwIP.
But, lwip seems to be to big to run on Netduino. I will work on uIP instead of lwIP and see if it's possible to run on .net MF ...
My first issue is to be able to compile the firmware. I currently use a eval version of RVDS 4.1 with success, but it's a eval version. With GCC, we probably raise a out of flash memory very quickly
Pascal
#4261 What is the Netduino Mini?
Posted by pascal06 on 26 October 2010 - 09:52 PM in Netduino Mini
#4265 What is the Netduino Mini?
Posted by pascal06 on 26 October 2010 - 10:11 PM in Netduino Mini
What about a mesh of Netduino Mini paired with Atmel ATMEGA128RFA1s? And maybe 6lopan?
Chris
I see a lot of discussion arround IOT about one MCU versus two MCU on a single node. Like Ethernet Shield, we can use one MCU as the main brain, and the other for networking communication.
On a wireless node, we are very concern by the low power consumption. And some people can be say, why use a ARM MCU in this case and don't use the AVR for sensor communication also (probably enough in most of case) ? By using two MCU, you need to update two firmwares also.
But it can be a easier first step
Though ?
Pascal
#4097 What is the Netduino Mini?
Posted by pascal06 on 22 October 2010 - 09:32 AM in Netduino Mini
#2823 uIP Introduction
Posted by pascal06 on 24 September 2010 - 09:11 PM in General Discussion
#2759 uIP Introduction
Posted by pascal06 on 24 September 2010 - 02:17 PM in General Discussion
#1036 Temperature Sensor?
Posted by pascal06 on 22 August 2010 - 11:25 AM in Netduino 2 (and Netduino 1)
I have published the article on my blog: http://forums.netdui...-blinking-leds/
Now I will look into writing the driver for one-wire DS18B20 sensor.
Hello Szymo,
Congratulation for your article !!
Regarding OneWire, look at this:
http://bansky.net/bl...k/comments.html
Here is my test:
OutputPort port = new OutputPort(Pins.GPIO_PIN_D2, false); while (true) { port.Write(true); port.Write(false); }
With my oscilloscope I see that the period is 115.28 uS. So it take 115.28 / 2 = 57.64 uS to change Digital Port state. To slow for OneWire communication.
It seems that we need a OneWire implementation in NativeCode, like tinyclr:
http://www.tinyclr.c...de to NETMF.pdf
Pascal
#1037 SPI
Posted by pascal06 on 22 August 2010 - 11:43 AM in Netduino 2 (and Netduino 1)
Hello,
I'm trying to figure out SPI on the netduino with this code:
using System; using System.Threading; using Microsoft.SPOT; using Microsoft.SPOT.Hardware; using SecretLabs.NETMF.Hardware; using SecretLabs.NETMF.Hardware.Netduino; using System.IO.Ports; namespace NetduinoApplication1 { public class Program { public static void Main() { SPI spi_port = new SPI(new SPI.Configuration( Pins.GPIO_NONE, // Chip select pin false, // false - CS active state is low 0, // CS setup time in ms 0, // CS hold time false, // false - Clk low on idle false, // false - Data valid on falling edge 100, // Clock rate in kHz SPI_Devices.SPI1 // SPI Module )); byte[] readBuffer = new byte[2]; while (true) { spi_port.WriteRead(new byte[] { 0x00, 0x55 }, readBuffer); //Thread.Sleep(1); } } } }
I have problem with:
1. Clock rate adjustment. What clock speed is supported by Netduino?
2. 20us before the data transfer, the clock line is weakly pulled-up for about 40us. This gave me an extra unwanted clock edge. Is it possible to remove this?
Hello Stephen,
Currently I use a clock at 1000 kHz with my nokia 3310 LCD with success,
Pascal
#1067 SPI
Posted by pascal06 on 22 August 2010 - 04:50 PM in Netduino 2 (and Netduino 1)
It seems that there is minimum SPI clock speed of about 200KHz.
Desired setting -> Frequency measured on oscilloscope
6000kHz -> 6.00MHz
1000kHz -> 1.00MHz
300kHz -> 300kHz
150kHz -> 743kHz
100kHz -> 215kHz
10kHz -> 251kHz
It's my mistake, I need to multiply by 2,
You're right for all results,
I have the same results now (approximatly),
Pascal
#1046 SPI
Posted by pascal06 on 22 August 2010 - 02:15 PM in Netduino 2 (and Netduino 1)
We've used a variety of clock speeds with success (internally, the .NET MF runtime divides the 48MHz clock into a small counter and then multiplies that counter to match your speed as closely as possible). What clock speed are you looking for?
Hmm, curious. The SPI code comes straight from Atmel and Microsoft, but we can look into this. I'd have to look at some native code SPI samples to see if this is a chip implementation or CLR implementation item. But if you need us to, we can schedule some time to analyze this further. Are you having data communication isssues on SPI because of this?
Chris
Regarding clock speed, when I try 1000 Khz, I see 550.66 Khz on my oscilloscope ...
Stephen, did you see the same difference ?
Pascal
#1049 SPI
Posted by pascal06 on 22 August 2010 - 02:27 PM in Netduino 2 (and Netduino 1)
Regarding clock speed, when I try 1000 Khz, I see 550.66 Khz on my oscilloscope ...
Stephen, did you see the same difference ?
Pascal
Also, just to check the netduino clock, I try this code (come from Expert .NET Micro Framework book) :
Cpu.GlitchFilterTime = new TimeSpan(0, 0, 0, 0, 100); //100 ms float systemClock = Cpu.SystemClock / 1000000.0f; Debug.Print("System Clock: " + systemClock.ToString("F6") + " MHz"); float slowClock = Cpu.SlowClock / 1000000.0f; Debug.Print("Slow Clock: " + slowClock.ToString("F6") + " MHz"); float glitchFilterTimeMs = Cpu.GlitchFilterTime.Ticks / (float)TimeSpan.TicksPerMillisecond; Debug.Print("Glitch Filter Time: " + glitchFilterTimeMs.ToString("F1") + " ms");
It works fine on emulator, but it raise a exception at first line on netduino :
"An unhandled exception of type 'System.ArgumentException' occurred in Microsoft.SPOT.Hardware.dll"
Pascal
#1071 SPI
Posted by pascal06 on 22 August 2010 - 05:16 PM in Netduino 2 (and Netduino 1)
Okay, just to make sure I understand this right... The SPI clock is working properly for you now, correct?
If not, I want to make sure I get a bug report files so we can investigate...
My SPI works because I use 1 Mhz clock. Because netduino is the master clock, I decided to use that freqency. If the slave doesn't support freqency above 150khz, we will probably have a issue.
But it's not my case.
Pascal
#1220 Sparkfun LCD
Posted by pascal06 on 24 August 2010 - 04:07 PM in Netduino 2 (and Netduino 1)
Thanks EdO!
I was under the impression that the analog pins were "general purpose", as far as them being able to act as digital? Was I mistaken?
The "brick shield" im using makes it pretty obvious that mapping the LCD pins to the analog ports pretty obvious. I'll check the "other" pins and try going all digital for the next round of testing.
I don't know with netduino, but on arduino you can use a analogue pin as a digital pin,
I often use it when no free digital pins,
Pascal
#4142 Serious problem on my Netduino board
Posted by pascal06 on 23 October 2010 - 01:51 PM in General Discussion
I had a problem with start debugging in Visual Studio 2010....Vs didn't connect to the board.
I have tried to upgrade firmware on Netduino but the MFDeploy blocking on "Connecting to TinyCLR...".
So I have disconnected my Netduino board....
Now when I insert Netduino in USB port I get the following message on my status bar :
USB device not recognized
I have uninstalled and installed the Netduino SDk but it doesn' work !
I can't connected to the board with MFDeploy !
Help !!!
Paolo.
Don't worry
You probably need to reflash the firmware. Here the step-by-Step procedure to do it http://forums.netdui...e-does-not-fix/
Pascal
#13090 RVDS Online Compiler
Posted by pascal06 on 10 May 2011 - 02:29 PM in General Discussion
Hello Gary,I looked at the mbed before I chose the Netduino, but why would you want to program online when you can download visual studio express for free?
While I can see the benefit for mac users (I'm one), losing the ease and ability of visual studio, especially the debugging to use an online tool would defeat the purpose of programming for the Netduino. I use parallels and win7 under OSX, works great (though I'd love the netduino to talk to processing running on OSX of course )
Gary
I don't speak about managed code (C#, VS is perfect), but for native code ( C ),
For native code you have choice between GNU, RVDS, or others expensive compiler,
This is to rebuild NETMF firmware,
GNU produced firmware is to big to fit flash memory, especialy for Netduino Plus,
And RVDS cost multiple thousands of dollars !!!
So, a online compiler like mbed could be a great alternative for netduino user,
Pascal
#13061 RVDS Online Compiler
Posted by pascal06 on 10 May 2011 - 11:14 AM in General Discussion
I discover that mbed provide a online compiler compliant to RVDS 4.1 for users:
http://mbed.org/handbook/mbed-Compiler
What about this facility for Netduino users who wants to compile NETMF kit ?
rgds,
#980 PK enc28j60
Posted by pascal06 on 21 August 2010 - 04:49 PM in Netduino 2 (and Netduino 1)
#2764 PCB Layout
Posted by pascal06 on 24 September 2010 - 02:59 PM in General Discussion
I have downloaded the zip file of the Netduino board. The file type is .BRD and I would like to know how
to open this file. I tried to use Eagle with no luck.
Any enlightenment will be appreciated.
Vic
Hello Vic,
Here is a answer from Chris:
http://forums.netdui...rd-layout-file/
Pascal
#3113 Nokia 3310 from nuelectronics
Posted by pascal06 on 28 September 2010 - 01:38 PM in Project Showcase
Hi Pascal,
What are the pinouts you used to interface between the netduino and the 3310 lcd?
PipZ
Hello PipZ,
I use the nuelectronics shield, pinouts can be found in this schematics:
http://www.nuelectro...ia_3310_lcd.pdf
Strip the joystick part, it's not compatible with netduino due to 3v3 vs 5v.
Pascal
#1055 Nokia 3310 from nuelectronics
Posted by pascal06 on 22 August 2010 - 02:46 PM in Project Showcase
I have tried to port Arduino library for this LCD with success. Only the LCD part works, not the joystick due to maximum 3.3v netduino use on Analogue pin.
Here is the library (Nokia3310.cs) :
using System; using System.Threading; using Microsoft.SPOT.Hardware; using SecretLabs.NETMF.Hardware.Netduino; namespace Shield { class Nokia3310 { public byte[][] font6_8 = new byte[][] { new byte[] { 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 }, // sp new byte[] { 0x00, 0x00, 0x00, 0x2f, 0x00, 0x00 }, // ! new byte[] { 0x00, 0x00, 0x07, 0x00, 0x07, 0x00 }, // " new byte[] { 0x00, 0x14, 0x7f, 0x14, 0x7f, 0x14 }, // # new byte[] { 0x00, 0x24, 0x2a, 0x7f, 0x2a, 0x12 }, // $ new byte[] { 0x00, 0x62, 0x64, 0x08, 0x13, 0x23 }, // % new byte[] { 0x00, 0x36, 0x49, 0x55, 0x22, 0x50 }, // & new byte[] { 0x00, 0x00, 0x05, 0x03, 0x00, 0x00 }, // ' new byte[] { 0x00, 0x00, 0x1c, 0x22, 0x41, 0x00 }, // ( new byte[] { 0x00, 0x00, 0x41, 0x22, 0x1c, 0x00 }, // ) new byte[] { 0x00, 0x14, 0x08, 0x3E, 0x08, 0x14 }, // * new byte[] { 0x00, 0x08, 0x08, 0x3E, 0x08, 0x08 }, // + new byte[] { 0x00, 0x00, 0x00, 0xA0, 0x60, 0x00 }, // , new byte[] { 0x00, 0x08, 0x08, 0x08, 0x08, 0x08 }, // - new byte[] { 0x00, 0x00, 0x60, 0x60, 0x00, 0x00 }, // . new byte[] { 0x00, 0x20, 0x10, 0x08, 0x04, 0x02 }, // / new byte[] { 0x00, 0x3E, 0x51, 0x49, 0x45, 0x3E }, // 0 new byte[] { 0x00, 0x00, 0x42, 0x7F, 0x40, 0x00 }, // 1 new byte[] { 0x00, 0x42, 0x61, 0x51, 0x49, 0x46 }, // 2 new byte[] { 0x00, 0x21, 0x41, 0x45, 0x4B, 0x31 }, // 3 new byte[] { 0x00, 0x18, 0x14, 0x12, 0x7F, 0x10 }, // 4 new byte[] { 0x00, 0x27, 0x45, 0x45, 0x45, 0x39 }, // 5 new byte[] { 0x00, 0x3C, 0x4A, 0x49, 0x49, 0x30 }, // 6 new byte[] { 0x00, 0x01, 0x71, 0x09, 0x05, 0x03 }, // 7 new byte[] { 0x00, 0x36, 0x49, 0x49, 0x49, 0x36 }, // 8 new byte[] { 0x00, 0x06, 0x49, 0x49, 0x29, 0x1E }, // 9 new byte[] { 0x00, 0x00, 0x36, 0x36, 0x00, 0x00 }, // : new byte[] { 0x00, 0x00, 0x56, 0x36, 0x00, 0x00 }, // ; new byte[] { 0x00, 0x08, 0x14, 0x22, 0x41, 0x00 }, // < new byte[] { 0x00, 0x14, 0x14, 0x14, 0x14, 0x14 }, // = new byte[] { 0x00, 0x00, 0x41, 0x22, 0x14, 0x08 }, // > new byte[] { 0x00, 0x02, 0x01, 0x51, 0x09, 0x06 }, // ? new byte[] { 0x00, 0x32, 0x49, 0x59, 0x51, 0x3E }, // @ new byte[] { 0x00, 0x7C, 0x12, 0x11, 0x12, 0x7C }, // A new byte[] { 0x00, 0x7F, 0x49, 0x49, 0x49, 0x36 }, // B new byte[] { 0x00, 0x3E, 0x41, 0x41, 0x41, 0x22 }, // C new byte[] { 0x00, 0x7F, 0x41, 0x41, 0x22, 0x1C }, // D new byte[] { 0x00, 0x7F, 0x49, 0x49, 0x49, 0x41 }, // E new byte[] { 0x00, 0x7F, 0x09, 0x09, 0x09, 0x01 }, // F new byte[] { 0x00, 0x3E, 0x41, 0x49, 0x49, 0x7A }, // G new byte[] { 0x00, 0x7F, 0x08, 0x08, 0x08, 0x7F }, // H new byte[] { 0x00, 0x00, 0x41, 0x7F, 0x41, 0x00 }, // I new byte[] { 0x00, 0x20, 0x40, 0x41, 0x3F, 0x01 }, // J new byte[] { 0x00, 0x7F, 0x08, 0x14, 0x22, 0x41 }, // K new byte[] { 0x00, 0x7F, 0x40, 0x40, 0x40, 0x40 }, // L new byte[] { 0x00, 0x7F, 0x02, 0x0C, 0x02, 0x7F }, // M new byte[] { 0x00, 0x7F, 0x04, 0x08, 0x10, 0x7F }, // N new byte[] { 0x00, 0x3E, 0x41, 0x41, 0x41, 0x3E }, // O new byte[] { 0x00, 0x7F, 0x09, 0x09, 0x09, 0x06 }, // P new byte[] { 0x00, 0x3E, 0x41, 0x51, 0x21, 0x5E }, // Q new byte[] { 0x00, 0x7F, 0x09, 0x19, 0x29, 0x46 }, // R new byte[] { 0x00, 0x46, 0x49, 0x49, 0x49, 0x31 }, // S new byte[] { 0x00, 0x01, 0x01, 0x7F, 0x01, 0x01 }, // T new byte[] { 0x00, 0x3F, 0x40, 0x40, 0x40, 0x3F }, // U new byte[] { 0x00, 0x1F, 0x20, 0x40, 0x20, 0x1F }, // V new byte[] { 0x00, 0x3F, 0x40, 0x38, 0x40, 0x3F }, // W new byte[] { 0x00, 0x63, 0x14, 0x08, 0x14, 0x63 }, // X new byte[] { 0x00, 0x07, 0x08, 0x70, 0x08, 0x07 }, // Y new byte[] { 0x00, 0x61, 0x51, 0x49, 0x45, 0x43 }, // Z new byte[] { 0x00, 0x00, 0x7F, 0x41, 0x41, 0x00 }, // [ new byte[] { 0x00, 0x55, 0x2A, 0x55, 0x2A, 0x55 }, // 55 new byte[] { 0x00, 0x00, 0x41, 0x41, 0x7F, 0x00 }, // ] new byte[] { 0x00, 0x04, 0x02, 0x01, 0x02, 0x04 }, // ^ new byte[] { 0x00, 0x40, 0x40, 0x40, 0x40, 0x40 }, // _ new byte[] { 0x00, 0x00, 0x01, 0x02, 0x04, 0x00 }, // ' new byte[] { 0x00, 0x20, 0x54, 0x54, 0x54, 0x78 }, // a new byte[] { 0x00, 0x7F, 0x48, 0x44, 0x44, 0x38 }, // b new byte[] { 0x00, 0x38, 0x44, 0x44, 0x44, 0x20 }, // c new byte[] { 0x00, 0x38, 0x44, 0x44, 0x48, 0x7F }, // d new byte[] { 0x00, 0x38, 0x54, 0x54, 0x54, 0x18 }, // e new byte[] { 0x00, 0x08, 0x7E, 0x09, 0x01, 0x02 }, // f new byte[] { 0x00, 0x18, 0xA4, 0xA4, 0xA4, 0x7C }, // g new byte[] { 0x00, 0x7F, 0x08, 0x04, 0x04, 0x78 }, // h new byte[] { 0x00, 0x00, 0x44, 0x7D, 0x40, 0x00 }, // i new byte[] { 0x00, 0x40, 0x80, 0x84, 0x7D, 0x00 }, // j new byte[] { 0x00, 0x7F, 0x10, 0x28, 0x44, 0x00 }, // k new byte[] { 0x00, 0x00, 0x41, 0x7F, 0x40, 0x00 }, // l new byte[] { 0x00, 0x7C, 0x04, 0x18, 0x04, 0x78 }, // m new byte[] { 0x00, 0x7C, 0x08, 0x04, 0x04, 0x78 }, // n new byte[] { 0x00, 0x38, 0x44, 0x44, 0x44, 0x38 }, // o new byte[] { 0x00, 0xFC, 0x24, 0x24, 0x24, 0x18 }, // p new byte[] { 0x00, 0x18, 0x24, 0x24, 0x18, 0xFC }, // q new byte[] { 0x00, 0x7C, 0x08, 0x04, 0x04, 0x08 }, // r new byte[] { 0x00, 0x48, 0x54, 0x54, 0x54, 0x20 }, // s new byte[] { 0x00, 0x04, 0x3F, 0x44, 0x40, 0x20 }, // t new byte[] { 0x00, 0x3C, 0x40, 0x40, 0x20, 0x7C }, // u new byte[] { 0x00, 0x1C, 0x20, 0x40, 0x20, 0x1C }, // v new byte[] { 0x00, 0x3C, 0x40, 0x30, 0x40, 0x3C }, // w new byte[] { 0x00, 0x44, 0x28, 0x10, 0x28, 0x44 }, // x new byte[] { 0x00, 0x1C, 0xA0, 0xA0, 0xA0, 0x7C }, // y new byte[] { 0x00, 0x44, 0x64, 0x54, 0x4C, 0x44 }, // z new byte[] { 0x00,0x00, 0x06, 0x09, 0x09, 0x06 } // horiz lines }; public SPI.Configuration conf; public SPI SPI_port; public OutputPort RST = new OutputPort(Pins.GPIO_PIN_D9, false); public OutputPort DC = new OutputPort(Pins.GPIO_PIN_D8, false); public OutputPort BL = new OutputPort(Pins.GPIO_PIN_D7, false); public Nokia3310() { Init(); } void Init() { conf = new SPI.Configuration(Pins.GPIO_PIN_D10, false, 0, 0, false, true, 1000, SPI.SPI_module.SPI1); SPI_port = new SPI(conf); Reset(); Write_Cmd(new byte[1] { 0x21 }); Write_Cmd(new byte[1] { 0xc0 }); Write_Cmd(new byte[1] { 0x06 }); Write_Cmd(new byte[1] { 0x13 }); Write_Cmd(new byte[1] { 0x20 }); Clear(); Write_Cmd(new byte[1] { 0x0c }); } public void Leds(bool On) { BL.Write(On); } void Write_Cmd(byte[] Cmd) { DC.Write(false); SPI_port.Write(Cmd); } void Write_Data(byte[] Data) { DC.Write(true); SPI_port.Write(Data); } void Reset() { RST.Write(false); Thread.Sleep(200); RST.Write(true); Thread.Sleep(200); } public void Clear() { ushort i; Set_XY(0, 0); for (i = 0; i < 504; i++) Write_Data(new byte[1] {0x00}); Set_XY(0, 0); } public void Set_XY(byte X, byte Y) { Write_Cmd(new Byte[1] { (byte)(0x40 | Y) }); // column Write_Cmd(new Byte[1] { (byte)(0x80 | X) }); // row } public void Write_Char(char c, bool highlight) { byte line; byte ch; byte a = (byte)((byte)c - 32); for (line = 0; line < 6; line++) { ch = font6_8[a][line]; ch = highlight ? ch : (byte)(ch ^ (byte)0xff); Write_Data(new byte[1] { ch }); } } public void Draw_Bmp_Pixel(byte X, byte Y, byte[] map, byte Pix_x, byte Pix_y) { ushort i, n; byte row; if (Pix_y % 8 == 0) row = (byte)(Pix_y / 8); else row = (byte)(Pix_y / 8 + 1); for (n = 0; n < row; n++) { Set_XY(X, Y); for (i = 0; i < Pix_x; i++) { Write_Data(new byte[1] { map[i + n * Pix_x] }); } Y++; } } } }
Here a the sample of use (Program.cs) :
using System.Threading; namespace NetduinoNokia3310 { public class Program { static byte[] AVR_bmp = { 0x00,0x00,0x00,0x00,0x80,0xE0,0xFC,0xFF,0xFF,0xFF,0x7F,0xFF,0xFE,0xFC,0xF0,0xC1, 0x0F,0x7F,0xFF,0xFF,0xFE,0xF0,0xC0,0x00,0x00,0x00,0xC0,0xF8,0xFE,0xFF,0xFF,0x3F, 0x07,0xC1,0xF0,0xFE,0xFF,0xFF,0xFF,0x1F,0x07,0x8F,0xCF,0xFF,0xFF,0xFF,0xFE,0xFC, 0x00,0x80,0xF0,0xFC,0xFF,0xFF,0xFF,0x7F,0x7F,0x78,0x78,0x79,0x7F,0x7F,0xFF,0xFF, 0xFC,0xF0,0xC1,0x07,0x1F,0xFF,0xFF,0xFE,0xFC,0xFF,0xFF,0xFF,0x1F,0x07,0xC1,0xF0, 0xFE,0xFF,0xFF,0x3F,0x0F,0x0F,0x7F,0xFF,0xFF,0xFF,0xFF,0xE7,0x07,0x03,0x01,0x00, 0x02,0x03,0x03,0x03,0x03,0x03,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x03, 0x03,0x03,0x03,0x03,0x00,0x00,0x03,0x1F,0x3F,0x1F,0x07,0x00,0x00,0x02,0x03,0x03, 0x03,0x03,0x01,0x00,0x00,0x00,0x00,0x03,0x03,0x03,0x03,0x03,0x03,0x00,0x00,0x00 }; public static void Main() { Shield.Nokia3310 LCD = new Shield.Nokia3310(); LCD.Leds(true); byte i, j; for (i = 0; i < 6; i++) { for (j = 0; j < 14; j++) { LCD.Set_XY((byte)(j * 6), (byte)i); LCD.Write_Char((char)((byte)(i * 14 + j + 32)), true); } } Thread.Sleep(5000); LCD.Clear(); LCD.Draw_Bmp_Pixel(20, 1, AVR_bmp, 48, 24); Thread.Sleep(5000); LCD.Leds(false); } } }
It would nice to have a Netduino bmp instead of AVR
Enjoy,
Pascal
#2375 Netduino USB deployment under VMWARE virtual machine
Posted by pascal06 on 17 September 2010 - 03:43 PM in General Discussion
How can I install Netduino board driver on the host machine without install all the Netduino SDK ?
Thanks,
Paolo
By using this:
http://forums.netdui...tduino-drivers/
If I understand your question correctly,
Pascal
#2421 Netduino USB deployment under VMWARE virtual machine
Posted by pascal06 on 18 September 2010 - 12:35 PM in General Discussion
How can I detect the firmware version on my Netduino board ?
Thanks,
Paolo
Using MFDeploy.exe, select USB -> Netduino_Netduino, in Menu Target -> Device Capabalities,
The "SolutionReleaseInfo.solutionVersion" show the Netduino firmware version,
Pascal
#2606 Netduino Serial Port Code Review
Posted by pascal06 on 22 September 2010 - 01:22 PM in Project Showcase
- Netduino Forums
- → pascal06's Content
- Privacy Policy