Search found 82 matches

by jan.didden
Thu Jun 09, 2022 4:56 pm
Forum: Feature Requests
Topic: Allow expressions in a Switch block
Replies: 3
Views: 1452

Re: Allow expressions in a Switch block

Thanks Steve, I hadn't thought about your 2nd point which is important.
I did in fact use a nested decision tree instead.

@mnfisher yes I'd like a code sample, just out of curiosity!

Jan
by jan.didden
Thu Jun 09, 2022 12:28 pm
Forum: Feature Requests
Topic: Allow expressions in a Switch block
Replies: 3
Views: 1452

Allow expressions in a Switch block

I really like the Switch block, very handy to be able to select an action from a number of values. Unfortunately, the Swich is controlled only by a constant I think that in most cases you don't have such a clear situation, but you have to convert some expression or condition into a constant to be ab...
by jan.didden
Wed Jun 08, 2022 11:12 am
Forum: General
Topic: UNO/MEGA TRU Components graphic display w/touch
Replies: 4
Views: 1339

Re: UNO/MEGA TRU Components graphic display w/touch

Thanks Ben - total success, yes. I had to figure out why I got an error message from AVRdude 'cannot open serial port com12' but I saw that the device was hanging off com5 and then discovered a setting in the Project Options to select the programmer. Learning, learning, learning ... Have a great day...
by jan.didden
Mon Jun 06, 2022 7:00 am
Forum: General
Topic: UNO/MEGA TRU Components graphic display w/touch
Replies: 4
Views: 1339

Re: UNO/MEGA TRU Components graphic display w/touch

Good morning Ben, Thanks for chiming in. The display does light up, no issues with power so I assume that the basic connections are OK. There's only one way this display can be plugged into the mega because of the clever spacing of the header sections. See pic. The project is an extremely simple att...
by jan.didden
Sun Jun 05, 2022 3:21 pm
Forum: General
Topic: UNO/MEGA TRU Components graphic display w/touch
Replies: 4
Views: 1339

UNO/MEGA TRU Components graphic display w/touch

This display is specifically laid out for the Arduino Mega 2560, plugs directly on the board. It has an onboard ILI9341 controller, for which FC9 has a component in the display library. I got it to work in sim (which doesn't say a lot, I know), not on hardware. One thing I am unsure about is the FC ...
by jan.didden
Tue May 31, 2022 9:17 am
Forum: General
Topic: MCLR as input?
Replies: 2
Views: 927

Re: MCLR as input?

Whooa! This has been resolved. There is a config bit for LVP (Low Voltage Programming), and if this is enabled, it overrides the setting for MCLR/E3 input. Set LVP to disable, set MCLR to '.. is input pin' and all works as intended.

Jan Didden
by jan.didden
Tue May 31, 2022 8:32 am
Forum: General
Topic: MCLR as input?
Replies: 2
Views: 927

MCLR as input?

I want to use the MCLR enable pin on the PIC16F15355 as input pin (Port E pin 3). I set the appropriate config bit in the Build|Project Options. But depending on the signal at that pin, the controller still resets unexpectedly. Is there anything else I need to do to disable the MCLR and enable the i...
by jan.didden
Fri May 27, 2022 7:27 pm
Forum: General
Topic: PWM component from basic i/o
Replies: 2
Views: 967

Re: PWM component from basic i/o

Hi Martin, No I wasn't worried about getting the right pack. I ordered the basic i/o, that has the PWM functionality. But I was wondering if that PWM_fade routine used any of the timers of the PIC16F15355. As you recall, there were some issues with timer - and IOC interrupts in my project, which wer...
by jan.didden
Fri May 27, 2022 4:48 pm
Forum: General
Topic: PWM component from basic i/o
Replies: 2
Views: 967

PWM component from basic i/o

Q: does the PWM component in the basic i/o library use a timer from the target PIC? I've seen some examples on line that mention the use of a timer. I downloaded the example PWM_fader (attached) but it doesn't mention a timer. But maybe hidden. (Can't run it as I have not yet purchased the basic i/o...
by jan.didden
Thu May 26, 2022 9:02 am
Forum: Feature Requests
Topic: Component sfk 433 Mhz serial for Arduino, ext.
Replies: 38
Views: 12462

Re: Component sfk 433 Mhz serial for Arduino, ext.

I really would like to thank Martin mnfisher publicly for his support to get this project up and running. I'm pretty sure he doesn't have loads of spare time but nevertheless always willing to listen and help. There's a very long list of PM's between him and me. I vote to give him a lifetime free FC...