Author |
Message |
Topic: Some problem about ESP32 |
cbarberis
Replies: 2
Views: 14652
|
Forum: General CCS C Discussion Posted: Tue Jun 08, 2021 8:22 am Subject: Some problem about ESP32 |
Is there a specific reasons to why you would want to use a PIC along with a ESP32? The ESP32 is a full blown32 bit controller with much more features and computing power than a 8 bit PIC. Making a Wi ... |
Topic: VL53L0X working example |
cbarberis
Replies: 8
Views: 67092
|
Forum: Code Library Posted: Wed Oct 14, 2020 7:22 am Subject: VL53L0X working example |
I stand corrected and my statements were incorrect.
The problem was related to the fact that I also downloaded the CCS translation file that PrinceNai got his code from. https://github.com/LILCMU/v ... |
Topic: VL53L0X working example |
cbarberis
Replies: 8
Views: 67092
|
Forum: Code Library Posted: Tue Oct 13, 2020 8:37 am Subject: VL53L0X working example |
I don't think this piece of code ever worked on the CCS compiler at least not as written. It is a poorly interpreted copy of Arduino code.
For example:
// Record the current time to check an u ... |
Topic: VL53L0X working example |
cbarberis
Replies: 8
Views: 67092
|
Forum: Code Library Posted: Tue Oct 13, 2020 7:47 am Subject: VL53L0X working example |
I split the various sections of the code you posted as you indicated and during compilation I get a million errors. I am using the latest version of the CCS compiler. There is so many compilation erro ... |
Topic: A Driver for the XPT2046 or TI TSC2046 Touch Controllers |
cbarberis
Replies: 0
Views: 20650
|
Forum: Code Library Posted: Mon Aug 10, 2020 3:47 pm Subject: A Driver for the XPT2046 or TI TSC2046 Touch Controllers |
This is a functional driver you can use on the XPT2046 or the TI TSC2046, it may also work with the ADS7843 but I cannot attest to that particular device.
My testing was done on a cheap ILI9341 (240 ... |
Topic: Question on Flexible "I2C" LCD driver (PCF8574T) |
cbarberis
Replies: 13
Views: 25254
|
Forum: General CCS C Discussion Posted: Mon Jul 06, 2020 3:45 pm Subject: Question on Flexible "I2C" LCD driver (PCF8574T) |
Using the latest IDE version 5.094 from CCS. There is some syntax high lighting to show variables and things of that sort but I have never seen any highlighting take place when you enter a wrong expre ... |
Topic: Question on Flexible "I2C" LCD driver (PCF8574T) |
cbarberis
Replies: 13
Views: 25254
|
Forum: General CCS C Discussion Posted: Mon Jul 06, 2020 2:15 pm Subject: Question on Flexible "I2C" LCD driver (PCF8574T) |
Jay and the rest of you guys, thank you for enlightening me to the fact that this was just a simple stupid syntax error that I just could not see.
This works --->. printf(lcd_putc, " ... |
Topic: Question on Flexible "I2C" LCD driver (PCF8574T) |
cbarberis
Replies: 13
Views: 25254
|
Forum: General CCS C Discussion Posted: Mon Jul 06, 2020 12:21 pm Subject: Question on Flexible "I2C" LCD driver (PCF8574T) |
Just wanted to note one more thing if I use the printf() line as such printf(lcd_putc, "Temp = "%3.1f DegF",Deg_f); it brings out the real error which is shown as ERROR # 3 on the erro ... |
Topic: Question on Flexible "I2C" LCD driver (PCF8574T) |
cbarberis
Replies: 13
Views: 25254
|
Forum: General CCS C Discussion Posted: Mon Jul 06, 2020 12:01 pm Subject: Question on Flexible "I2C" LCD driver (PCF8574T) |
I am not sure where the error is coming from. I have copied the code segment where the error occurs if I comment out LINE 137 everything compiles just fine and the code works fine on the hardware. Als ... |
Topic: Question on Flexible "I2C" LCD driver (PCF8574T) |
cbarberis
Replies: 13
Views: 25254
|
Forum: General CCS C Discussion Posted: Mon Jul 06, 2020 10:29 am Subject: Question on Flexible "I2C" LCD driver (PCF8574T) |
Thank you PCM Programmer but actually I was not declaring the variable type inside the printf() command I did it that way to explain that I was using a float for that variable the actual way I have it ... |
Topic: Question on Flexible "I2C" LCD driver (PCF8574T) |
cbarberis
Replies: 13
Views: 25254
|
Forum: General CCS C Discussion Posted: Sun Jul 05, 2020 10:05 am Subject: Question on Flexible "I2C" LCD driver (PCF8574T) |
Flexible "I2C" LCD driver (PCF8574T) by Hugo Silva:
http://www.ccsinfo.com/forum/viewtopic.php?t=54063
For some reason I thought this nice piece of code just translated PCM Programmer's ... |
Topic: Question on tone generation among interrupts |
cbarberis
Replies: 11
Views: 20187
|
Forum: General CCS C Discussion Posted: Fri Jan 17, 2020 11:27 am Subject: Question on tone generation among interrupts |
Unfortunately, I was brought into this project when the hardware design was already developed by someone else. Normally I like to take the project and design both the hardware and firmware which make ... |
Topic: Question on tone generation among interrupts |
cbarberis
Replies: 11
Views: 20187
|
Forum: General CCS C Discussion Posted: Fri Jan 17, 2020 7:53 am Subject: Question on tone generation among interrupts |
Unfortunately for me, life is not so simple. I am working with another developer (something I will avoid in the future) and he is "hell-bent" in only using timer2 for his library application ... |
Topic: Question on tone generation among interrupts |
cbarberis
Replies: 11
Views: 20187
|
Forum: General CCS C Discussion Posted: Thu Jan 16, 2020 2:52 pm Subject: Question on tone generation among interrupts |
This is going into a high volume consumer product that is quite small and they already have a molded enclosure, so they don't want extra parts at all. This is what I call a simple complicated product ... |
Topic: Question on tone generation among interrupts |
cbarberis
Replies: 11
Views: 20187
|
Forum: General CCS C Discussion Posted: Thu Jan 16, 2020 2:19 pm Subject: Question on tone generation among interrupts |
Thanks for the hint, actually that was my first solution, using a SOT23-5 pin PIC but unfortunately they don't want to add any more parts into the design and I am running out of ideas. |
|