Author |
Message |
Topic: Problems with LCD (Batron) |
spom
Replies: 9
Views: 16784
|
Forum: General CCS C Discussion Posted: Sat Feb 14, 2009 8:01 am Subject: Problems with LCD (Batron) |
I solved the problem - easy thing...
The fault was in the void command
void command (unsigned int8 command) {
i2c_write(0x80); // 0b10000000 Read i2c address
i2c_write( ... |
Topic: Problems with LCD (Batron) |
spom
Replies: 9
Views: 16784
|
Forum: General CCS C Discussion Posted: Wed Feb 11, 2009 8:19 am Subject: Problems with LCD (Batron) |
Hi,
after a period of time I try to use this LCD again. But I still have a problem.
Getting a checkerboard is not a problem, but how to write a line or letter is still a problem.
According to th ... |
Topic: Problems with LCD (Batron) |
spom
Replies: 9
Views: 16784
|
Forum: General CCS C Discussion Posted: Fri Nov 28, 2008 9:04 am Subject: Problems with LCD (Batron) |
Hi,
I still have a problem with my LCD.
As mentioned above all signals seem to be ok. But I can't see anything on my display :-( I think it's up to the code.
The driver is the STE2004S.
i2c_sta ... |
Topic: Problems with LCD (Batron) |
spom
Replies: 9
Views: 16784
|
Forum: General CCS C Discussion Posted: Thu Nov 20, 2008 11:52 am Subject: Problems with LCD (Batron) |
A part of the code that might be important:
void glcd_send_byte(BYTE n, glcd_invtyp invtyp ){
int16 posinrom;
int i,line,invline;
byte cmd_mode;
int1 startchar = 1;
p ... |
Topic: Problems with LCD (Batron) |
spom
Replies: 9
Views: 16784
|
Forum: General CCS C Discussion Posted: Thu Nov 20, 2008 10:28 am Subject: Problems with LCD (Batron) |
Hi,
have somebody experience with a Batron LCD? The datasheet from farnell
enum glcd_invtyp {_GLCD_BLACK_ON_WHITE,_GLCD_WHITE_ON_BLACK,_GLCD_ALL_INVERSE};
...
void glcd_putc(char ... |
Topic: RS232 problem, char routing through PIC |
spom
Replies: 5
Views: 6432
|
Forum: General CCS C Discussion Posted: Wed Oct 29, 2008 7:35 am Subject: RS232 problem, char routing through PIC |
Thanks.
I tried it that way but I still have the same problem. I also tried to change baud rate but with no effect. I tried to use a buffer - no effect.
I think the problem is in the software UART ... |
Topic: RS232 problem, char routing through PIC |
spom
Replies: 5
Views: 6432
|
Forum: General CCS C Discussion Posted: Wed Oct 29, 2008 4:14 am Subject: RS232 problem, char routing through PIC |
Below the code for the PIC on the GSM/bluetooth modul board:
#include <18f1320.h>
#fuses NOWDT,HS,NOPUT,NOPROTECT,NOBROWNOUT,NOLVP,INTRC
#use delay(internal=8M)
#use rs232(baud=2 ... |
Topic: RS232 problem, char routing through PIC |
spom
Replies: 5
Views: 6432
|
Forum: General CCS C Discussion Posted: Tue Oct 28, 2008 7:04 am Subject: RS232 problem, char routing through PIC |
Hi,
I have a problem with RS232 and character routing through a PIC.
But now from beginning:
I use a bluetooth and a GSM module. For each I have a PIC. From my "main board" I send a chara ... |
Topic: Win XP can't install driver for USB HID |
spom
Replies: 1
Views: 7716
|
Forum: General CCS C Discussion Posted: Fri Aug 01, 2008 2:05 am Subject: Win XP can't install driver for USB HID |
Hi everybody,
I have a little problem with using HID USB.
I use the PIC 18F4550 with a 4MHz crystal and the example code "ex_usb_hid.c". I changed the clock to 4000000 an comment out #i ... |
Topic: GM862 problems with turning it on |
spom
Replies: 0
Views: 2454
|
Forum: General CCS C Discussion Posted: Fri Jun 13, 2008 4:59 am Subject: GM862 problems with turning it on |
Hi,
I try to use the GM862-Quad (datasheet is there http://www.roundsolutions.com/techdocs/index.htm). As the datasheet says I set the output of my uC to an high level, wait 2.5 seconds and then I ... |
Topic: Other pins for RS232 possible? |
spom
Replies: 2
Views: 3055
|
Forum: General CCS C Discussion Posted: Thu May 29, 2008 6:20 am Subject: Other pins for RS232 possible? |
Hi,
can I use other pins for using UART (RS232) instead of RX and TX?
Thanks |
Topic: Header file for 18F6723 |
spom
Replies: 4
Views: 4601
|
Forum: General CCS C Discussion Posted: Thu May 22, 2008 6:18 am Subject: Header file for 18F6723 |
Ok I thought that it doesn't work that way.
But can I use the header file of the PIC 18F6722 instead? Or is that not possible?
Thanks! |
Topic: Header file for 18F6723 |
spom
Replies: 4
Views: 4601
|
Forum: General CCS C Discussion Posted: Wed May 21, 2008 2:38 am Subject: Header file for 18F6723 |
Hi,
I use the ccs c version 3.236. For my PIC 18F6723 I need the header file. As the responsible person for that programm stays at holiday the next three weeks I couldn't upgrade the ccs c. So can so ... |
Topic: Problem with stepper motor |
spom
Replies: 6
Views: 6980
|
Forum: General CCS C Discussion Posted: Wed Apr 02, 2008 7:34 am Subject: Problem with stepper motor |
I use L293D. So I thought I don't need any more diodes as the diodes are installed in the driver, isn't it?
How can I better decoupling the motor spikes? |
Topic: Problem with stepper motor |
spom
Replies: 6
Views: 6980
|
Forum: General CCS C Discussion Posted: Wed Apr 02, 2008 5:02 am Subject: Problem with stepper motor |
Hi,
I have a problem with my stepper motor.
I use a PIC 18F2480, L293D as a driver and a motor which uses 4.6V and 0.8 A/Phase.
I use the same power supply both for the PIC and for the motor.
T ... |
|