hi
dont use CD4050.
The display interface is serial, it just needs 5 wires (CS, DC, SCK, RST, SDI) for controlling.

![]() |
  | |||||||||||||
![]() |
|
![]() |
||||||||||||
The Netduino forums have been replaced by new forums at community.wildernesslabs.co.
This site has been preserved for archival purposes only
and the ability to make new accounts or posts has been turned off.
asciiman's ContentThere have been 29 items by asciiman (Search limited from 09-July 24) #63487 LED/LCD TFT Screen
hi dont use CD4050.
The display interface is serial, it just needs 5 wires (CS, DC, SCK, RST, SDI) for controlling. LCD_CS -- ChipSelect any Digital Pin
LCD_DC -- Data/Command any Digital Pin
LCD_SCK -- SPCK-D13
LCD_Reset -- Reset any Digital Pin
LCD_SDI(MOSI) -- SDI/SDA (Serial Data Input) MOSI-D11
LCD_SDO(MISO) -- SDO/SDA (Serial Data Output) MISO-D12 for SDCard
LCD_Led -- any Digital Pin Or any PWM Pin Or 3.3V maximum Power Supply Pin
but i am not sure Vcc is 5v. You must try 3.3v first
U can use Analog pin like Digital PIN
#63477 LED/LCD TFT Screen
hi
vecc solution code is working perfect.
i remember Power pin is 5v, and backligth pin is 3.3v
you need power and backlight voltage
#63089 Sd Card write issues
hi
Microsoft.SPOT.IO.VolumeInfo.GetVolumes()[0].FlushAll();
but you must read any document about this #61996 5v PWM?
#61836 Flash / Code Storage / RAM ..etc.
#61827 Flash / Code Storage / RAM ..etc.
thank you sir
Why this code is show 100 kb not 192 Microsoft.SPOT.Debug.Print(Debug.GC(true).ToString()); #61819 Flash / Code Storage / RAM ..etc.
Hi
Netduino +2 has 1MB flash + 384Kb Code Storage and 192Kb RAM (tech spec)
Is 1MB flash = 384Kb Code Storage + 192Kb RAM + ..etc. #61800 is Stringbuilder using ArrayList ?
Hi,
?s stringbuilder using Arraylist?
http://neuromancer.i...rk-collections/
One main point to consider when using collections in a micro framework device is that of memory consumption. Each collection carries overhead — data that serves no other purpose than to facilitate the items you store in the collection. For example, inserting hundreds of items in an ArrayList will quickly use up most of the memory on a Netduino. #61789 StreamReader vs FileStream
hi guys
i read this "StreamReader is a memory pig. Use FileStream directly." is this true. FileStream is light version of StreamReader.
thnx #61701 WebAPI and Socket
hi i fix it. Content must be in " and "
for example string xContent = "asdasdfaf" ; is wrong xContent = "\"asdasdfaf\""; is true.
#61684 WebAPI and Socket
hi sir I try it but dont working.
byte[] xContent = Convert.FromBase64String(Convert.ToBase64String(System.Text.Encoding.UTF8.GetBytes("this is content")));
I cant add .rar file
#61681 WebAPI and Socket
hi guys
I can use "Get or Post" method with simple socket connection. I can send any parameters via url to "Get or Post" method. But i cant use [formBody] property.
What is wrong? var xSocket = new System.Net.Sockets.Socket(System.Net.Sockets.AddressFamily.InterNetwork, System.Net.Sockets.SocketType.Stream, System.Net.Sockets.ProtocolType.Tcp); var xEndPoint = new System.Net.IPEndPoint(System.Net.Dns.GetHostEntry("127.0.0.1").AddressList[0], 80); xSocket.Connect(xEndPoint); xSocket.SetSocketOption(System.Net.Sockets.SocketOptionLevel.Tcp, System.Net.Sockets.SocketOptionName.NoDelay, true); xSocket.SendTimeout = 1000; //byte[] xContent = System.Text.Encoding.UTF8.GetBytes("this is content"); string xRequestLine = "Get /api/My/45 HTTP/1.1\r\n"; string xHeaderLines = "Host: localhost" + "\r\n" + "Accept: text/json; charset=utf-8" + "\r\n" + "Accept-Encoding: gzip, deflate" + "\r\n" + //"Content-Type: application/json" + "\r\n" + //"Transfer-Encoding: chunked" + "\r\n" + "Connection: Close" + "\r\n" + //"Content-Length: " + xContent.Length.ToString() + "\r\n" + "\r\n"; // EmptyLine xSocket.Send(System.Text.Encoding.UTF8.GetBytes(xRequestLine)); xSocket.Send(System.Text.Encoding.UTF8.GetBytes(xHeaderLines)); //xSocket.Send(xContent); #61533 LED/LCD TFT Screen
hi sir I write this code for using HelpersFont. I completed a few days ago. public class BitmapCharacter { public byte Width; // Columns public byte Height; // Rows public ushort[] Pixels; // Includes color data } public class FontBase { public static BitmapCharacter getBitmapCharacter(char pChar, ushort pColor, ushort pTransparentColor, byte pFontHeight, ref ushort[] pFontMap, ref byte[] pFontBitmap) { byte xFontMapIndex = (byte)(pChar - 32); ushort xFontBitmapIndex = pFontMap[xFontMapIndex * 2 + 1]; byte xCharWidthPixel = (byte)(pFontMap[xFontMapIndex * 2]); // Bit or Pixel byte xColumnByteCount = (byte)(xCharWidthPixel / 8 + (xCharWidthPixel % 8 == 0 ? 0 : 1)); var xPixelArray = new System.Collections.ArrayList(); for (byte yIndex = 0; yIndex < pFontHeight; yIndex++) { UInt64 tmpInt64 = 0; // RowCount = FontHeight, ColumnCount = CharWidthPixel (64 Max) for (byte xIndex = 0; xIndex < xColumnByteCount; xIndex++) tmpInt64 = tmpInt64 << 8 | pFontBitmap[xFontBitmapIndex + yIndex * xColumnByteCount + xIndex]; for (int xColumnIndex = 0; xColumnIndex < xCharWidthPixel; xColumnIndex++) { byte xShiftCount = (byte)(xColumnByteCount * 8 - xColumnIndex - 1); if (((tmpInt64 >> xShiftCount) & 1) == 1) xPixelArray.Add(pColor); else xPixelArray.Add(pTransparentColor); } } var xBitmapCharacter = new BitmapCharacter() { Width = xCharWidthPixel, Height = pFontHeight, Pixels = (ushort[])xPixelArray.ToArray(typeof(ushort)) }; return xBitmapCharacter; } } I am using helpers font because i cant use any other font. For example created by TinyFontToolGUI.exe pls look at this
https://learn.adafru...itmap-plus-text
Every think is lastes..!
Netduino is Netduino +2
Firmware is v4.3.1.0
Netduino SDK is v4.3.1.0
Framework is v4.3.1.0(QFE2)
Visual Studio is v2013 ...!
but i cant use it.
I have two problem with helpersfont 1) I cant find larger font than Verdana14 ( or any font like helpersfont) 2) I cant write transparent font for example over any image.
I will upload video today for problems..! My english is not good sorry..! #61506 How to not short circuit my Netduino ?
hi Chris
Can i plug 2Amper or more to 7.5~9volt VIN power? Or what is the limit of Amper ? #61334 LED/LCD TFT Screen
hi sir i am waiting long time for this.
thanks so much..!
my lcd is
it dont have touching and i dont need
![]() But can we use Netduino Helpers Font ?
#61242 Internet data transfer
Hi I wanna send and receive image from internet. Whic is the best way.
I try WCF service but it use xmlreader and xmlreader is not recommended for netduino?
#61106 TFT LCD (ILI9341)
hi sir,
unfortunately i dont have any code. #60965 Netduino 2 can't run N1(+ or not) code.
hi Chris
I cant use ST7735 chip with Fabienroyer code. Is this possible with Neduino2+ #60434 Camera recommendation
hi
I need simple camera module with ready c# code?
Which camera wolud you suggest? #59957 SD Unmount error
Hi I can read and write to SD with Netduino 2 and microSD adapter.
but when i call UnmountSD() method occurs an System.IO.IOExecption error. I am using Samsung MicroSD 2gb
#59908 Microframework static constructor method
hi,
This is not good because i am reading settings from xml file in static void main { } block and then assign this values to other static members in Information.cs (class) after this I use this values when need. (Access the corresponding class) #59873 Microframework static constructor method
Is this a bug.
In .Net Microframework, all static constructor methods fired immediately. In .Net Framework, constructor methods fired when access the class.
#59826 Netduino Unique ID
thnx #59710 TFT LCD Display
hi
http://forums.netdui...ft-lcd-ili9341/
sir alesbedac
wrote this code and it works but slowly
i hope so alesbedac write new code #59393 Netduino Unique ID
Hi sir,
When I use EEPROM that somebody can read and write on other EEPROM isnt it? Is EEPROM has uniqueID ?
| ||||||||||||||
![]() |
||||||||||||||
![]() |
|
![]() |
||||||||||||
![]() |
This webpage is licensed under a Creative Commons Attribution-ShareAlike License. | ![]() |
||||||||||||
![]() |