Author |
Message |
Topic: could anyone convert mikroc esp8266 library to ccs c, please |
colesha
Replies: 12
Views: 47971
|
Forum: General CCS C Discussion Posted: Wed Mar 24, 2021 1:19 pm Subject: could anyone convert mikroc esp8266 library to ccs c, please |
I have a library for it i made.
Planning on posting soon, "thingspeak ready".
G.
Though it is a very old thread, but did you manage to make the library for esp8266?
regards
Man, I ... |
Topic: CCS Touch Display 4.3" Development Kits |
colesha
Replies: 18
Views: 43121
|
Forum: General CCS C Discussion Posted: Fri Feb 05, 2021 5:58 am Subject: CCS Touch Display 4.3" Development Kits |
The 'problem' for me is that as a' PIC on a PCB', you've only got access to 8 DIO and 6 AIO in addition to the USB CDC port and the GCLD subsystems.
I think they could sell a boatload of them if it ... |
Topic: CCS Touch Display 4.3" Development Kits |
colesha
Replies: 18
Views: 43121
|
Forum: General CCS C Discussion Posted: Fri Feb 05, 2021 5:56 am Subject: CCS Touch Display 4.3" Development Kits |
Thanks, Telmah/Temtronic,
the kit is just like any development board from CCS, the one I have has 8 DI/DO pins and 6 AIN/AO pins. So I can use them for some other functions, the DIN is connected th ... |
Topic: CCS Touch Display 4.3" Development Kits |
colesha
Replies: 18
Views: 43121
|
Forum: General CCS C Discussion Posted: Wed Feb 03, 2021 10:08 am Subject: CCS Touch Display 4.3" Development Kits |
Youtube video: CCS Touchscreen Interface Designer Tutorial
https://www.youtube.com/watch?v=mjpHo51jnU4
Files supplied with the CCS compiler in the Drivers folder:
gfx_graphics.c
gfx_graphics ... |
Topic: CCS Touch Display 4.3" Development Kits |
colesha
Replies: 18
Views: 43121
|
Forum: General CCS C Discussion Posted: Wed Feb 03, 2021 9:53 am Subject: CCS Touch Display 4.3" Development Kits |
I have to assume the GUI interface is maybe i2C or SPI ?
https://www.nutsvolts.com/magazine/article/graphical-lcd-programming-with-the-touch-display-4.3
if you subscribe you can get the rest of t ... |
Topic: CCS Touch Display 4.3" Development Kits |
colesha
Replies: 18
Views: 43121
|
Forum: General CCS C Discussion Posted: Wed Feb 03, 2021 8:43 am Subject: CCS Touch Display 4.3" Development Kits |
Curious, I went to the webpage. It says they supply a LOT of functions so I assume they may have a few examples, maybe on the CD ? I don't have teh 'exercise' book , so I can't comment on what's in t ... |
Topic: CCS Touch Display 4.3" Development Kits |
colesha
Replies: 18
Views: 43121
|
Forum: General CCS C Discussion Posted: Wed Feb 03, 2021 7:44 am Subject: CCS Touch Display 4.3" Development Kits |
Hello,
I recently acquired the CCS Touch Display 4.3" Development Kits, but the exercise book seems to be lacking. Has anyone used it before? Am finding it a challenge to send commands to the PI ... |
Topic: Turn LCD Light ON and OFF to save power |
colesha
Replies: 20
Views: 56954
|
Forum: General CCS C Discussion Posted: Wed Dec 09, 2020 11:04 am Subject: Turn LCD Light ON and OFF to save power |
Thanks, PCM,
It has worked. |
Topic: Turn LCD Light ON and OFF to save power |
colesha
Replies: 20
Views: 56954
|
Forum: General CCS C Discussion Posted: Wed Dec 09, 2020 10:20 am Subject: Turn LCD Light ON and OFF to save power |
It compiles OK for me. I changed the #include line for the PIC to use
18F4550.h and got this result:
Compiling C:\Program Files\...\PCH_Test on 09-Dec-20 at 08:00
Memory usage: ROM=1% ... |
Topic: Turn LCD Light ON and OFF to save power |
colesha
Replies: 20
Views: 56954
|
Forum: General CCS C Discussion Posted: Wed Dec 09, 2020 9:40 am Subject: Turn LCD Light ON and OFF to save power |
How can i best handle it?
Here is one way to do it. In this program, the isr runs all the time.
It can be re-written so the isr only runs when needed.
In the program below, you turn on the LE ... |
Topic: LCD failure to display content with 18f4550 |
colesha
Replies: 14
Views: 30001
|
Forum: General CCS C Discussion Posted: Tue Dec 01, 2020 1:45 am Subject: LCD failure to display content with 18f4550 |
Thanks Temtronic,
It has really worked, the issue was the LCD RW and Contrast pins. I had to connect the RW pin to the PIC instead of connecting it to the ground. I also connected the contrast thr ... |
Topic: LCD failure to display content with 18f4550 |
colesha
Replies: 14
Views: 30001
|
Forum: General CCS C Discussion Posted: Mon Nov 30, 2020 10:55 am Subject: LCD failure to display content with 18f4550 |
hmm, post your 'hello World' program. I have a 46k22 running at 64MHz using the internal oscillator on a 20+year old breadboard with a 20x4 LCD , RTCEEP, DS18B20 as well as a USBTTL module plus a blin ... |
Topic: LCD failure to display content with 18f4550 |
colesha
Replies: 14
Views: 30001
|
Forum: General CCS C Discussion Posted: Mon Nov 30, 2020 5:05 am Subject: LCD failure to display content with 18f4550 |
Hello,
For sure all not working, it's like the PIC is not communicating to the LCD. I am doing this on the breadboard. I am supplying both the VDD with 5V and both the VSS to ground. Pin MCLR through ... |
Topic: LCD failure to display content with 18f4550 |
colesha
Replies: 14
Views: 30001
|
Forum: General CCS C Discussion Posted: Sun Nov 29, 2020 3:42 pm Subject: LCD failure to display content with 18f4550 |
One obvious mistake is this:
lcd_putc('f');
The lcd.c file says this at the top:
lcd_putc(c) Will display c on the next position of the LCD.
\a Set cursor position to upper ... |
Topic: LCD failure to display content with 18f4550 |
colesha
Replies: 14
Views: 30001
|
Forum: General CCS C Discussion Posted: Sun Nov 29, 2020 3:40 pm Subject: LCD failure to display content with 18f4550 |
Actually the delay needs to be before lcd_init.
It is common to need a delay here. There are two separate 'issues'. First,
the standard Hitachi chip needs 90mSec after power is applied before it
... |
|