Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Lcd 4 bit Problem with 18f45k50
23-02-2015, 11:00 AM, (This post was last modified: 23-02-2015, 01:25 PM by psteve.)
#1
Lcd 4 bit Problem with 18f45k50
i use x959 for LCD application with 18f45k50.


With x959 all works fine, with the last ide 11, it doesnt works.

Compile it's ok (a little more bytes needed...), but lcd show only same "fill" char.


Also lcd example has the same problem..

Any workaround??? :-(

Steve
Reply
24-02-2015, 02:23 AM,
#2
RE: Lcd 4 bit Problem with 18f45k50
(23-02-2015, 11:00 AM)psteve Wrote: i use x959 for LCD application with 18f45k50.


With x959 all works fine, with the last ide 11, it doesnt works.

Compile it's ok (a little more bytes needed...), but lcd show only same "fill" char.


Also lcd example has the same problem..

Any workaround??? :-(

Steve

what PDE are you using?

fred
Reply
24-02-2015, 03:35 AM,
#3
RE: Lcd 4 bit Problem with 18f45k50
(24-02-2015, 02:23 AM)derf158 Wrote: what PDE are you using?

fred

I tried with all the examples in the directory

pinguino-11\examples\07.Display\LiquidCrystal

but none of these works... Sad

Using x959 all it's ok....
Reply
24-02-2015, 10:13 AM,
#4
RE: Lcd 4 bit Problem with 18f45k50
The helloword.pde example compiled with x959 


13182 bytes --> It works


the same file from x959 example dir with ide 11-3


12914 bytes --> lcd fail...


help....
Reply
24-02-2015, 10:17 AM,
#5
RE: Lcd 4 bit Problem with 18f45k50
I tried HelloWorld.pde with a 18f45k50 and it works in IDE v11 as IDE x.4 for me.
You must know a LCD 16x2 is very sensitive to the mounting and wiring. I notice several times it must be emphasized to succeed.
I attached LCD4Bits.pde, a much simpler pde than HelloWorld.pde. It doesnot need LCD library. Try it.
Bye
André 


Attached Files
.pde   LCD4bits.pde (Size: 1.71 KB / Downloads: 7)
Reply
24-02-2015, 10:29 AM,
#6
RE: Lcd 4 bit Problem with 18f45k50
(24-02-2015, 10:13 AM)psteve Wrote: The helloword.pde example compiled with x959 


13182 bytes --> It works


the same file from x959 example dir with ide 11-3


12914 bytes --> lcd fail...

What do you mean exactly by lcd fail...
I got the same 12914 bytes at compiling !



help....
Reply
24-02-2015, 11:43 AM,
#7
RE: Lcd 4 bit Problem with 18f45k50
Lcd is empty....
Reply
24-02-2015, 12:51 PM,
#8
RE: Lcd 4 bit Problem with 18f45k50
(24-02-2015, 11:43 AM)psteve Wrote: Lcd is empty....

It is not a problem with the IDE v11 or the LCD library. Check your mounting and wiring.
At least does the display light ?
Reply
24-02-2015, 02:33 PM, (This post was last modified: 24-02-2015, 02:47 PM by psteve.)
#9
RE: Lcd 4 bit Problem with 18f45k50
It's very strange..

With the same prototipe (so the same wiring) x959 it's ok but ide11 fails...

Very interesting your example, but do you have also a printFloat Function?

The size of hex is very small... I could love it Smile
Reply
24-02-2015, 03:36 PM,
#10
RE: Lcd 4 bit Problem with 18f45k50
(24-02-2015, 02:33 PM)psteve Wrote: It's very strange..

With the same prototipe (so the same wiring) x959 it's ok but ide11 fails...

Very interesting your example, but do you have also a printFloat Function?

The size of hex is very small... I could love it Smile

Is my "interesting example" working for you ?
If your reply is yes I can try to find a printFloat Function.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)