Now I'm curious, what did you do to solve it? Was it a loose connection?
Maybe it is a loose connection. but actually, I solved problem by removing two lines as described above.
LCD_display.BlinkCursor = true; LCD_display.ShowCursor = true;
![]() |
  | |||||||||||||
![]() |
|
![]() |
||||||||||||
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.
BowWowTama's ContentThere have been 8 items by BowWowTama (Search limited from 12-July 24) #31759 HD44780 LCD with broken characters
Maybe it is a loose connection. but actually, I solved problem by removing two lines as described above. LCD_display.BlinkCursor = true; LCD_display.ShowCursor = true; #31757 HD44780 LCD with broken characters
It varies and is consistent. Sometimes, it breaks characters when 19 secs collapsed and sometimes 24 secs and after that, the problem continues. Anyway, problem has been solved and thanks for your attention. Regards. #31755 HD44780 LCD with broken characters
Problem solved!
I removed these two lines. LCD_display.BlinkCursor = true; LCD_display.ShowCursor = true; but why? #31754 HD44780 LCD with broken characters
Um.... I added "MicroLiquidCrystal.dll" to the reference items. It displays like this. first row : LCD display 1 <- no problem. second row : 1, 2, 3, 4, 5, >(What the!), 6, 7, 8, 9, 10, ?(What?), ... and as the time goes by, it ignores its column and displays like the picture attached and displays as follows. 123_vw, 123_v), 123_v^ (It should display 123, 124, 125) Thanks for your reply. #31751 HD44780 LCD with broken characters
![]() using System; using System.Threading; using Microsoft.SPOT; using Microsoft.SPOT.Hardware; using SecretLabs.NETMF.Hardware; using SecretLabs.NETMF.Hardware.Netduino; using MicroLiquidCrystal; namespace LCD_display { public class Program { public static void Main() { GpioLcdTransferProvider LCD_provider = new GpioLcdTransferProvider ( rs: Pins.GPIO_PIN_D9, enable: Pins.GPIO_PIN_D8, d4: Pins.GPIO_PIN_D3, d5: Pins.GPIO_PIN_D2, d6: Pins.GPIO_PIN_D1, d7: Pins.GPIO_PIN_D0 ); Lcd LCD_display = new Lcd(LCD_provider); LCD_display.Begin(16, 2); LCD_display.BlinkCursor = true; LCD_display.ShowCursor = true; LCD_display.SetCursorPosition(0, 0); LCD_display.Write("LCD Display 1"); uint sec = 0; while (true) { LCD_display.SetCursorPosition(0, 1); LCD_display.Write(sec.ToString()); Thread.Sleep(1000); sec++; } } } } Hi there, Sorry for my poor English first. I have been wiring LCD U44780 and found a thread about LCD library at the link as follows http://forums.netdui...ut-a-shift-reg/ I used a dll from the attached file and succeeded to run the LCD. but as you can see from the attached picture above, it displays broken characters. The code I made is simple program that displaying the seconds elapsed. Regards. #30589 Safely remove Netduino
Thanks for the reply. have a nice day~
![]() #30422 Safely remove Netduino
Thanks for the reply. and for the LED blinking, it seems that "Write" method gets boolean value which doesn't refer absolute states of the LED. I guess I have to turn it on and off just by reversing its state. I thought that if I give the device "Write(false)", I could turn off the LED... anyway, I solved it.
See you and regards.
#30404 Safely remove Netduino
Hi there. Sorry for my poor English first.
I have been a .NET developer about 2 years and I got a netduino just a few minutes ago. Yeah! I connected it to the usb port and installed .NET MF and SDK sets. but failed to create a project with Netduino. I searched the forum a few minutes and found that you have to put templates in the documents folder located in local drive. I have my documents folder in "E" drive. It was really embarrassing... OK, here's a question. 1. Is there anything that I have to pay attention or be cautious when I attempt to remove Netduino devices from computer? 2. you know, there's a guide for a newbie and it has the first project tutorial about turning on and off the LED on the board. I succeeded and while the LED was blinking, I tried to do following code. public static void Main() { OutputPort outport = new OutputPort(Pins.ONBOARD_LED, false); outport.Write(false); Thread.Sleep(250); outport.Dispose(); } Instead of turning off, it remained turned on(not blinking). But just "outport.Write(false);" removing other lines did the job. 3. From the above code, do I have to use "Dispose" method actually? I think that because netduino has a embeded framework on the chip and there must be a garbage collector. So from the view of managing memory, I guess it is necessary to dispose the method. but it can't do...
| ||||||||||||||
![]() |
||||||||||||||
![]() |
|
![]() |
||||||||||||
![]() |
This webpage is licensed under a Creative Commons Attribution-ShareAlike License. | ![]() |
||||||||||||
![]() |