Swedish? Anyone can do Swedish. Can you write it in Klingon? Now that would be a feat!
Swedish? Anyone can do Swedish. Can you write it in Klingon? Now that would be a feat!
Sure, I can write it in Klingon, here you go:
Obviously I have NO idea if that's correct though, I speak Klingon like I speak C - not at all... :-)bIpIv'a',
wej qarbej qay' neH 'ach wa'DIch 'oH vIlegh:
Code:DEFINE LCD_DREG PORTC DEFINE LCD_DBIT 2 '<---laH neH 'oH 0 4 pagh-pagh "start SoH" aribtrary 'emDaq-neH 0 4 pagh.
Here's the translator I used.
Anyway, I think we've had enough fun for now. Darrels Routine will most likely be the answer if the OP wants to stick with PBP.
/Henrik.
sorry by my message, I wanted to say something else, programming language.
yes, the problem is DEFINE DBIT 2, I change pins and all correct in ISIS.
but I need pin C2-5 for data 4 bits of LCD
I tested this code
http://www.picbasic.co.uk/forum/showthread.php?t=7038
and I work with pin C2-5 for LCD data
RS in pin C0 and E in pin C1
all correct, ISIS work with my code and LCD_AnyPin.pbp solution.
But I tested my code in real PIC and not work, I modified configurations bits in MPLAB and nothing.
I think that must be some PIC configuration byte that is not properly configured, any help?
I all have this:
TRISA = %00111111 <-- all A pins are input
TRISC = %00000000 <-- only used for LCD 16x2
ANSEL = %00000011 <-- I need bit 0 and 1 for A/D
WPUA = 0
IOCA = 0
Bookmarks