On 4 March 2013 12:42, Josh Koffman wrote: > Malformed PIC tag, added above. > > > > Using MPLABX(1.60), the simulator runs as expected, the stack never > under or over flows, all ports and registers are as expected, no warnings > displayed when compiled. > > > > Running on the pic ( 12F683 ) nothing is displayed, it's blank, but th= e > display indicates that it has been initialised by the grid showing up as = a > contrast layer. > Why do not you try to display some static characters using "movlw 'A'; call LCD_OUT;" style? Simulator can't simulate real hardware, only the logic of it -- for example connection errors, noise, bad power source, fault components etc... Also some LCDs need different timings -- maybe the code you use works on original Hitachi but not on XYZ compatible one. Maybe the type or size of the decoupling cap is wrong (the symptom of "works on simulator, does not work on real hardware" can be because of that). Once you can confirm that the real LCD is working you can get from there. Tamas --=20 http://www.piclist.com/techref/piclist PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist .