Search found 135 matches

by jay_dee
Tue Jul 12, 2022 9:19 am
Forum: General
Topic: CAN Component - Buffer
Replies: 20
Views: 5162

Re: CAN Component - Buffer

Just checked last nights work. The CAN interrupt will only run if CheckRx is placed in the main loop. If the main loop is slowed down by a 500ms Delay, the interrupt will only run at this rate. So I am fairly sure Check Rx is toggling some bit thus activating or deactivating a larger part of the CAN...
by jay_dee
Mon Jul 11, 2022 8:12 pm
Forum: General
Topic: CAN Component - Buffer
Replies: 20
Views: 5162

Re: CAN Component - Buffer

Ah... I may have missunderstood.
If I place the CheckRx macro in the main, then the interupt will run.
I assumed it would have to be in the Interrupt routine.
Does this make sense that it works with the CheckRx macro in the main loop?
J.
by jay_dee
Mon Jul 11, 2022 3:36 pm
Forum: General
Topic: CAN Component - Buffer
Replies: 20
Views: 5162

Re: CAN Component - Buffer

I assume
ts_Bit = test Bit.
st_Bit = Set bit
cr=Bit = Clear bit
and these are little macros dinfined in the compiler or FC ?
by jay_dee
Mon Jul 11, 2022 12:26 pm
Forum: General
Topic: CAN Component - Buffer
Replies: 20
Views: 5162

Re: CAN Component - Buffer

Hi, As suggested I tried inserting the CheckRx macro but this did not change the behaviour, the interrupt still does not run. Any further thoughts? Or could you supply the interrupt code you are using and I'll try to play around with it as a custom interrupt. I tried making my own custom but its on ...
by jay_dee
Mon Jul 11, 2022 12:17 pm
Forum: Projects - Embedded
Topic: GLCD Touch Screen Example - Keypad 4D uLCD-32PTU
Replies: 1
Views: 893

GLCD Touch Screen Example - Keypad 4D uLCD-32PTU

Just sharing a basic working example of the using the Touch Screen of the 4D Systems uLCD 32PTU as a Keypad for inputing user data. I needed to allow the user to input some values, this example is visually pretty crude but works well in hardware. Not all keys are enabled and I currently only use it ...
by jay_dee
Fri Jul 01, 2022 1:01 pm
Forum: General
Topic: GLCD - Writing and Clearing Text of varying length
Replies: 1
Views: 787

GLCD - Writing and Clearing Text of varying length

Hi, I am writing a string to a GLCD, I have the Transparency set to 0 so any new text cleanly overwrites the old text. However if the the length of the string is shorter then the previous text, the last few characters of the old text remain. With a conventional LCD I would simply preceed any new tex...
by jay_dee
Tue Jun 28, 2022 12:42 pm
Forum: General
Topic: CAN Component - Buffer
Replies: 20
Views: 5162

Re: CAN Component - Buffer

Any Thoughts?
I should be able to clear some bench time next week to progress this if there is anything to test. Thanks, John.
by jay_dee
Sun Jun 19, 2022 1:35 pm
Forum: General
Topic: 4D Displays - Basics
Replies: 2
Views: 925

Re: 4D Displays - Basics

Great, Thanks Ben.
I've managed to get both methods working in a basic fashion.
Where I have previously used my display, to make the screen work as a basic GLCD I needed to load the Screen with the (serial) PSE program from the 4D software.
Thanks, J.
by jay_dee
Fri Jun 17, 2022 3:58 pm
Forum: General
Topic: 4D Displays - Basics
Replies: 2
Views: 925

4D Displays - Basics

Hi, I'm hoping to tackle the display requirments for a customer project and I've been meaning to do more with the 4D displays. In Early FC examples by Jon Crow..the graphic widgets were setup in 4D software and loaded to the screen. Commands were then sent/recieved from the PIC. Visually complex wid...
by jay_dee
Fri Jun 17, 2022 2:39 pm
Forum: General
Topic: CAN Component - Buffer
Replies: 20
Views: 5162

Re: CAN Component - Buffer

Thanks Ben,
As suggested, I've just tried that. No change.
CAN_Simple_Rx_Tests_V1-1.fcfx
(66.09 KiB) Downloaded 69 times
J.