Finally dusted off my Go. Bought everything months ago but have been so busy with an N+ project its all been sitting in my drawer.
First off, I'd like to say that I am very impressed with the Go and modules being created. Fabien, your nutshell app is genius. Still some bugs in it when trying to change colors of shapes but I can improvise.
I have an issue and a suggestion... issue first.
Downloaded the latest drivers from here ... https://bitbucket.or...f220d46/Library
Created a Go project.
Added Nwazet.Go.SDT028ATFTLCDTS to refs
Made a simple screen canvas via nutshell here...
using System; using System.Threading; using Microsoft.SPOT; using Microsoft.SPOT.Hardware; using SecretLabs.NETMF.Hardware; using SecretLabs.NETMF.Hardware.NetduinoGo; using Nwazet.Go.Display; using Nwazet.Go.Imaging; using Nwazet.Go.Fonts; namespace DisplayTesting { public class Program { public static void Main() { // write your code here var canvas = new VirtualCanvas(null, null); canvas.Initialize(GoSockets.Socket5); canvas.SetOrientation(Orientation.Landscape); canvas.DrawRectangleRounded( 11, 33, 303, 222, ColorHelpers.GetRGB24toRGB565(0, 0, 0), 5, RoundedCornerStyle.All); canvas.DrawButton( 245, 190, 50, 20, DejaVuSans9.ID, 12, ColorHelpers.GetRGB24toRGB565(233, 114, 114), ColorHelpers.GetRGB24toRGB565(255, 255, 255), ColorHelpers.GetRGB24toRGB565(0, 0, 0), "Button", RoundedCornerStyle.None); canvas.DrawArrow( 263, 114, 33, DrawingDirection.Right, ColorHelpers.GetRGB24toRGB565(172, 220, 102)); canvas.Execute(); Thread.Sleep(Timeout.Infinite); } } }
When compiling I am receiving the following errors...
Could not copy the file "C:\Users\bbender\Dropbox\Netduino\Development\Netduino Go\DisplayTesting\DisplayTesting\bin\Debug\LE\Nwazet.Go.Core.pe" because it was not found.
Could not copy the file "C:\Users\bbender\Dropbox\Netduino\Development\Netduino Go\DisplayTesting\DisplayTesting\bin\Debug\LE\Nwazet.Go.SDT028ATFTLCDTS.pe" because it was not found.
I tried referencing the Nwazet.Go.SDT028ATFTLCDTS.dll in two areas of Fabien's BitBucket release...
..\fabienroyer-nwazet.go-b24909aff18e\Library\Nwazet.Go.SDT028ATFTLCDTS\Nwazet.Go.SDT028ATFTLCDTS\bin\Debug
..\fabienroyer-nwazet.go-b24909aff18e\Binaries
No Go! for either reference (pun intended)
Please advise.
Here is also my suggestion...
I looked at the Nwazet product page, this forum (maybe not well enough) and the wiki pages... I really don't see any step by step of exactly what to download and what to reference to get this display fired up. I assumed copy/paste of Nutshell code into my startup program.cs and referencing above mentioned dll but I did not read that it is the correct place or to do that at all. I did load the NwazetDisplayModule.sln provided but it's absolute Go Newb overkill, especially since the SD module has not even been released yet and I don't have a breakout SD.
Is there an instruction page a little less to the extent of taking this display to the max... possibly a more step by step? I realize we are all somewhat engineers or professional tinkerers but until I master the Go! like the plus, I and probably many others would like a dumbed down step by step of hooking the display up to the go, referencing minimum required dlls, and running with code from the nutshell. Maybe even a simple button click event example.
Anything like that as of yet?
BTW... I did read this post... http://forums.netdui...h__1#entry30497
Didn't help. From what I 'think' I know about .pe files being included when ref'ing dlls... my impression is the GAC loads them into your bin. I could be wrong. Perhaps an SDK setup for your drivers with an actual version to go by so we know if we have the latest Fabien?