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)
Martin
Search found 1759 matches
- Tue Apr 28, 2026 9:22 pm
- Forum: Bug Reports
- Topic: PIC16F18326 Interrupt error
- Replies: 9
- Views: 598
- Tue Apr 28, 2026 9:48 am
- Forum: Bug Reports
- Topic: PIC16F18326 Interrupt error
- Replies: 9
- Views: 598
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...
- Sat Apr 25, 2026 3:15 pm
- Forum: Bug Reports
- Topic: PIC16F18326 Interrupt error
- Replies: 9
- Views: 598
Re: PIC16F18326 Interrupt error
Also to check that you are not trying to use a switch and just seeing 'bounce'?
- Sat Apr 25, 2026 2:13 pm
- Forum: Bug Reports
- Topic: PIC16F18326 Interrupt error
- Replies: 9
- Views: 598
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...
- Fri Apr 24, 2026 8:51 pm
- Forum: Bug Reports
- Topic: PIC16F18326 Interrupt error
- Replies: 9
- Views: 598
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) -...
- Fri Apr 24, 2026 3:20 pm
- Forum: General
- Topic: Stepper Motor with a A4988
- Replies: 2
- Views: 413
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...
- Wed Apr 22, 2026 12:56 pm
- Forum: General
- Topic: EB-006 drivers
- Replies: 7
- Views: 1446
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
It should be possible to re-instate your keyboard driver - from within Windows (right click 'Windows' -> Device manager....)
Martin
- Wed Apr 22, 2026 12:52 pm
- Forum: Projects - Embedded
- Topic: Fun with Flowcode - Binary Search
- Replies: 4
- Views: 666
Re: Fun with Flowcode - Binary Search
Yes - fire up a 'Dwarf' or two - from the earlier series of course. And enjoy!
Now works AOK on esp32 - the string comparison is fixed (update CAL_STRING.c)
Martin
Now works AOK on esp32 - the string comparison is fixed (update CAL_STRING.c)
Martin
- Wed Apr 22, 2026 12:50 pm
- Forum: Bug Reports
- Topic: String comparison esp32
- Replies: 7
- Views: 829
Re: String comparison esp32
Thanks - just tested and all seems good now 
- Tue Apr 21, 2026 9:54 pm
- Forum: General
- Topic: FREERtos on FlowCode Library for RPi Pico
- Replies: 3
- Views: 952
Re: FREERtos on FlowCode Library for RPi Pico
Hi, If the Pico is running FreeRTOS as the 'OS' - would it be possible to use FreeRTOS functions - such as xTaskCreate - in FC (using C blocks / supplementary code) as on the esp32? There are several examples for the esp32 on the forums - using such features as tasks / queues etc - and it might be w...