Search found 1701 matches

by BenR
Tue Jul 12, 2022 12:20 pm
Forum: General
Topic: Switch and IOC Error
Replies: 6
Views: 1371

Re: Switch and IOC Error

Hello, I'm afraid you cannot enable the same interrupt twice pointing to two different macros, even selecting different pins the second macro will never get called. I have tweaked your program to hopefully make it run better on the embedded device and simulate without crashing. Switch and Encoder IO...
by BenR
Tue Jul 12, 2022 12:12 pm
Forum: General
Topic: PIC Internal DAC output pin
Replies: 6
Views: 1474

Re: PIC Internal DAC output pin

Hello,

What device are you using and I'll investigate for you.
by BenR
Tue Jul 12, 2022 11:38 am
Forum: Bug Reports
Topic: STM32-SPI-ILI9488
Replies: 44
Views: 19435

Re: STM32-SPI-ILI9488

Hello, I've finally got the screen working correctly and pushed a new version of the component to the library update system. I'm still not happy with it as it seems to be very dark but I've been through a lot of the settings trying different values and nothing seems to make any difference. At least ...
by BenR
Mon Jul 11, 2022 4:47 pm
Forum: General
Topic: CAN Component - Buffer
Replies: 20
Views: 4645

Re: CAN Component - Buffer

Hello, Yes that's correct and they are defined by Flowcode as follows. #define st_bit(var,bitno) CAL_APPEND(var, bits.bitno) = 1 #define cr_bit(var,bitno) CAL_APPEND(var, bits.bitno) = 0 #define ts_bit(var,bitno) (CAL_APPEND(var, bits.bitno)) so cr_bit(PIR3, RXB0IF); becomes the following when using...
by BenR
Mon Jul 11, 2022 3:14 pm
Forum: General
Topic: CAN Component - Buffer
Replies: 20
Views: 4645

Re: CAN Component - Buffer

Hello, Here's the current interrupt defined in the definition file you can try and play around with. Not really sure what else to suggest at the moment. It's too hot today 8-) Handler if (ts_bit(PIR3, RXB0IF) && ts_bit(PIE3, RXB0IE)) { FCM_%n(); cr_bit(PIR3, RXB0IF); } Enable st_bit(INTCON, PEIE); s...
by BenR
Mon Jul 11, 2022 12:22 pm
Forum: Projects - Embedded
Topic: GLCD Touch Screen Example - Keypad 4D uLCD-32PTU
Replies: 1
Views: 864

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

Brilliant that's a great example and should be very useful many thanks for sharing.
by BenR
Mon Jul 11, 2022 12:18 pm
Forum: General
Topic: Flowcode and STM32
Replies: 5
Views: 1418

Re: Flowcode and STM32

Hello guys, So my fetish for heels has now been exposed :oops: :lol: Though in reality my wife decided to have a clear out and jumped on my good eBay seller rep :roll: Thankfully not been out in drag since my stag and my best man brought out a full outfit complete with makeup for me, one of a variet...
by BenR
Fri Jul 08, 2022 6:42 pm
Forum: General
Topic: Flowcode and STM32
Replies: 5
Views: 1418

Flowcode and STM32

Hello,

For anyone looking to learn a new micro and fancy a go with the powerful STM32 ARM hardware there are some compatible development boards going for good prices here.

https://www.ebay.co.uk/itm/284889391547
by BenR
Fri Jul 08, 2022 4:12 pm
Forum: General
Topic: Quadrature encoder and OLED with Arduino
Replies: 3
Views: 968

Re: Quadrature encoder and OLED with Arduino

My Guess is the encoder is changing to fast to catch all the edges and therefore EncChanged is often equal to 255 and resetting the counter. One option might be to try and remove the 10ms delay and see if that helps. Another option is to use the interrupt based approach and see if this helps. Ether ...
by BenR
Fri Jul 08, 2022 4:06 pm
Forum: App Developer
Topic: Example of file search
Replies: 3
Views: 3223

Re: Example of file search

Easiest way is probably by creating a Filename type property, this is how we do it in our apps.