Search found 1762 matches

by mnfisher
Mon May 04, 2026 3:28 pm
Forum: Feature Requests
Topic: Feature Requests
Replies: 3
Views: 85

Re: Feature Requests

Have a play - see how you get on...

See https://www.flowcode.co.uk/forums/viewt ... 898#p21898 - where I do this for the MAX7219 7 segment display.

You could maybe 'borrow; the character set?

Martin
by mnfisher
Mon May 04, 2026 9:15 am
Forum: Feature Requests
Topic: Feature Requests
Replies: 3
Views: 85

Re: Feature Requests

It is relatively easy to do using the 'segments' function. Have an array for the characters you need - not all characters are possible but a fair few are so use ASCII mapping (' ' (space) is 32, 'A' 65 etc) - and I would offset the index (use .c - 32 where .c is the character) as 0..31 are not 'prin...
by mnfisher
Sat May 02, 2026 11:28 pm
Forum: Bug Reports
Topic: PIC16F18326 Interrupt error
Replies: 11
Views: 1410

Re: PIC16F18326 Interrupt error

How often do you expect an interrupt? Could you work round by reading port a/c and only processing the code if the pin is low (falling) Some thing like: FCL_PINS = PORTA; // In a C block if (.pins & (1<< int_pin)) == 0 // in FC // Do interrupt code Please post a short snippet of code that demons...
by mnfisher
Tue Apr 28, 2026 9:22 pm
Forum: Bug Reports
Topic: PIC16F18326 Interrupt error
Replies: 11
Views: 1410

Re: PIC16F18326 Interrupt error

Thanks Ben - that explains the read of the port registers.

I still have the odd layout - with the masks as 0 (until I minimise the select pin(s) diagram)
ISR.jpg
ISR.jpg (32.66 KiB) Viewed 891 times
Martin
by mnfisher
Tue Apr 28, 2026 9:48 am
Forum: Bug Reports
Topic: PIC16F18326 Interrupt error
Replies: 11
Views: 1410

Re: PIC16F18326 Interrupt error

Sorry - I'm not sure I follow - "negative edge behaves as if both edges are triggered"? Is this a limitation of the MCU (the same ISR is called for rising, falling and both - although this would usually(always?) be the case) Please can you post a code snippet that demonstrates - this and t...
by mnfisher
Sat Apr 25, 2026 3:15 pm
Forum: Bug Reports
Topic: PIC16F18326 Interrupt error
Replies: 11
Views: 1410

Re: PIC16F18326 Interrupt error

Also to check that you are not trying to use a switch and just seeing 'bounce'?
by mnfisher
Sat Apr 25, 2026 2:13 pm
Forum: Bug Reports
Topic: PIC16F18326 Interrupt error
Replies: 11
Views: 1410

Re: PIC16F18326 Interrupt error

I don't have that part to test with - sorry. As a simple 'thought experiment' - can you add code to set the interrupt pins as 'inputs' before the interrupt icon? (set TRISA or use read a pin using input) Set the pins to be 'digital' (set ANSELA) Add a simple ISR that toggles a different pin. Add a s...
by mnfisher
Fri Apr 24, 2026 8:51 pm
Forum: Bug Reports
Topic: PIC16F18326 Interrupt error
Replies: 11
Views: 1410

Re: PIC16F18326 Interrupt error

Can you post a simple demo showing this? Looking at the datasheet - bits are set in IOCxP and IOCxN for rising and falling edge interrupts - both to detect both. I added an IOC interrupt to a chart and selected some pins (the 'selection' image is too small - and I couldn't find keys to enlarge it) -...
by mnfisher
Fri Apr 24, 2026 3:20 pm
Forum: General
Topic: Stepper Motor with a A4988
Replies: 3
Views: 911

Re: Stepper Motor with a A4988

This would probably be best as a new topic - but I'll not try moving it on phone... What are you trying to achieve - what speed are you wanting to change? For app developer or for an MCU? Or do you want multiple 'tasks' to run at set intervals / rates? If you post more details possibly with some sam...
by mnfisher
Wed Apr 22, 2026 12:56 pm
Forum: General
Topic: EB-006 drivers
Replies: 7
Views: 2117

Re: EB-006 drivers

Oh dear - sorry to hear that....

It should be possible to re-instate your keyboard driver - from within Windows (right click 'Windows' -> Device manager....)

Martin