Author |
Message |
Topic: PIC24EP - Biggest TFT with touch and drivers? |
Jerson
Replies: 19
Views: 4338
|
Forum: General CCS C Discussion Posted: Thu Sep 19, 2024 7:23 am Subject: PIC24EP - Biggest TFT with touch and drivers? |
You could look at this document for DWIN HMI
https://ecdn6.globalso.com/upload/p/1355/source/2024-09/T5L_DGUSII-Application-Development-Guide-V2.9-0905.pdf
I am not in any way affiliated with DWIN ... |
Topic: PIC24EP - Biggest TFT with touch and drivers? |
Jerson
Replies: 19
Views: 4338
|
Forum: General CCS C Discussion Posted: Wed Sep 18, 2024 8:06 pm Subject: PIC24EP - Biggest TFT with touch and drivers? |
@Jerson: I guess the problem now is how to buy these from Canada.... I'm looking online for something like the GME0831B but there aren't much results.
That seems to be just the capacitive touch ove ... |
Topic: PIC24EP - Biggest TFT with touch and drivers? |
Jerson
Replies: 19
Views: 4338
|
Forum: General CCS C Discussion Posted: Wed Sep 18, 2024 10:36 am Subject: PIC24EP - Biggest TFT with touch and drivers? |
If you are willing to use a UART running anywhere from 9600 to 115200 baud, I suggest you look at HMI displays like the DWIN displays with either capacitive or resistive touch. Their website is www.d ... |
Topic: PIC24EP capacitive display suggestion? |
Jerson
Replies: 3
Views: 3845
|
Forum: General CCS C Discussion Posted: Thu Apr 04, 2024 9:54 pm Subject: PIC24EP capacitive display suggestion? |
I wonder if you're trying to implement an HMI type display. If so, using a TFT with capacitive touch will be a lot of work and code space. You can mitigate this by using a HMI display from either Ne ... |
Topic: Floats & Ints |
Jerson
Replies: 3
Views: 4348
|
Forum: General CCS C Discussion Posted: Sun Mar 03, 2024 7:23 am Subject: Floats & Ints |
The value in tcomb will range from 0 till 65535.
Thus, using the native integer math of the processor, tcomb/65535 will result either in a 0 for values less than 65535 or 1 when it is equal. Fract ... |
Topic: Happy Christmas everyone & Happy New Year |
Jerson
Replies: 7
Views: 6780
|
Forum: General CCS C Discussion Posted: Sat Dec 23, 2023 10:10 pm Subject: Happy Christmas everyone & Happy New Year |
Wish you all the peace and joy of Christmas. Have a merry Christmas |
Topic: Example 2432.c question |
Jerson
Replies: 4
Views: 6155
|
Forum: General CCS C Discussion Posted: Wed Oct 18, 2023 8:05 pm Subject: Example 2432.c question |
#define hi(x) (*((int8 *)&x+1))
Try to read it like this
define macro
hi of x
as
the value pointed at (*
which is of type int8 pointer (int8 *)
whose location is address x+1 (& ... |
Topic: Is anybody using a 480x320 TFT with a PIC? |
Jerson
Replies: 12
Views: 14572
|
Forum: General CCS C Discussion Posted: Thu Oct 12, 2023 8:24 pm Subject: Is anybody using a 480x320 TFT with a PIC? |
If you're referring to an arduino TFT shield type display, they can be used with a 8 bit data bus. As far as I know, there is no ready library that you will find other than the ones written for ardui ... |
Topic: CayenneLPP data format |
Jerson
Replies: 9
Views: 19878
|
Forum: General CCS C Discussion Posted: Wed Oct 26, 2022 11:00 am Subject: CayenneLPP data format |
you could try something like this
// more accuracy using long variables
value = ((int32)value * 39L)/100
or perhaps if you can tolerate some error in calculation
... |
Topic: Serial port terminal with 9 bit support [Solved] |
Jerson
Replies: 16
Views: 39915
|
Forum: General CCS C Discussion Posted: Mon Sep 19, 2022 8:33 pm Subject: Serial port terminal with 9 bit support [Solved] |
Most terminals online will support 9 bits. Maybe you're looking for the wrong keywords.
It would be 8bit data with parity. Most terminals will support this.
Look for @bray terminal My favour ... |
Topic: 12F675 software UART |
Jerson
Replies: 20
Views: 46031
|
Forum: General CCS C Discussion Posted: Sun May 29, 2022 11:36 pm Subject: 12F675 software UART |
I suspect this to be the Read-Modify-Write issue with bit access on I/O ports. A way to solve this would be to keep a shadow byte variable in RAM which you modify and then whenever modified, write o ... |
Topic: USB GamePad with PIC18F4550 |
Jerson
Replies: 69
Views: 156218
|
Forum: General CCS C Discussion Posted: Sun Mar 27, 2022 10:00 pm Subject: USB GamePad with PIC18F4550 |
If you do need to use delays, I suggest you write non-blocking type delays so that the USB is serviced in the background @ approx 1mS |
Topic: USB GamePad with PIC18F4550 |
Jerson
Replies: 69
Views: 156218
|
Forum: General CCS C Discussion Posted: Sun Mar 27, 2022 9:57 pm Subject: USB GamePad with PIC18F4550 |
Two things:
1.- HID_Report_Create() seems yo be a method you defined and didn't provide the definition.
2.- I did try the usb_tbe(1) and it still does the strange behaviour of keep pluging and unp ... |
Topic: USB GamePad with PIC18F4550 |
Jerson
Replies: 69
Views: 156218
|
Forum: General CCS C Discussion Posted: Sun Mar 27, 2022 9:05 pm Subject: USB GamePad with PIC18F4550 |
This is how I have managed USB. Maybe you're missing the tx buf empty check.
if (usb_enumerated()){
if (usb_tbe(1))
{
HID_Re ... |
Topic: aP23170 voice chip example code for playback? |
Jerson
Replies: 4
Views: 16378
|
Forum: General CCS C Discussion Posted: Wed Mar 23, 2022 8:28 pm Subject: aP23170 voice chip example code for playback? |
The download has code examples in the rar file. |
|