Search found 1713 matches

by BenR
Wed Jun 15, 2022 12:03 pm
Forum: General
Topic: Dynamically remapping output pins
Replies: 8
Views: 1908

Re: Dynamically remapping output pins

Hello,

You don't set flashcntr to 0 at the top of your program. Maybe that has something to do with it?
by BenR
Wed Jun 15, 2022 10:27 am
Forum: Feature Requests
Topic: Support for New Mcrochip MCUs
Replies: 1
Views: 980

Re: Support for New Mcrochip MCUs

Hello,

Many thanks for the suggestion. It appears none of the microcontrollers you have suggested are currently covered by our default compiler toolchains so maybe updating our toolchains is something we can investigate in the near future.
by BenR
Wed Jun 15, 2022 10:10 am
Forum: General
Topic: ili9341 various macros
Replies: 8
Views: 1974

Re: ili9341 various macros

Hello, An arrow could be done using lines or plot points. Arrow.jpg A rounded box could be done by adding black lines to the outside of a rectangle and white to the inside as shown here. This is a bad example hand drawn by me but shows you what kind of things you can do. Rounded Box.jpg Here's a muc...
by BenR
Wed Jun 15, 2022 10:00 am
Forum: General
Topic: Dynamically remapping output pins
Replies: 8
Views: 1908

Re: Dynamically remapping output pins

Hi Jan,

Yes you're certainly on the right lines there, It should be as simple as using a C icon to write the following.

Code: Select all

RB4PPS = 0x0b;
You might also need to set the previous pin back to IO mode or the signal will appear on both pins, assuming B3 was the previously assigned pin.

Code: Select all

RB3PPS = 0x00;
by BenR
Tue Jun 14, 2022 9:59 am
Forum: Bug Reports
Topic: RPI PICO SPI problem
Replies: 8
Views: 2145

Re: RPI PICO SPI problem

Many thanks for letting us know.

That should be sorted for you now via the Help -> Library updates.

Please let us know if you have any additional problems.
by BenR
Tue Jun 14, 2022 9:38 am
Forum: App Developer
Topic: Calculate Standard Deviation
Replies: 7
Views: 6795

Re: Calculate Standard Deviation

Hi Wayne,

That's been added for you now. I've pushed the latest component to the library update system for you.

The latest source is here if you're interested.

StandardDeviation.fcfx
(28.4 KiB) Downloaded 409 times
by BenR
Mon Jun 13, 2022 3:33 pm
Forum: General
Topic: XPT2041 & SPI Conflict
Replies: 11
Views: 3035

Re: XPT2041 & SPI Conflict

Maybe try adjusting the SPI properties, clock phase etc, might be the data is a bit out of phase?
by BenR
Mon Jun 13, 2022 1:32 pm
Forum: Feature Requests
Topic: BME688 ESP32 ESP8266 Rasberry PI AVR
Replies: 23
Views: 7702

Re: BME688 ESP32 ESP8266 Rasberry PI AVR

Thanks Leigh, I've made the change you recommended here and rolled it out now.

Much appreciated :D
by BenR
Mon Jun 13, 2022 12:08 pm
Forum: General
Topic: Help with PID code (does it work?)
Replies: 7
Views: 1975

Re: Help with PID code (does it work?)

Yes that's possible just use a second Digital input to drive the setpoint and the value for this can be assigned from your control variable.
by BenR
Mon Jun 13, 2022 12:06 pm
Forum: General
Topic: XPT2041 & SPI Conflict
Replies: 11
Views: 3035

Re: XPT2041 & SPI Conflict

Hmm your code to do the temperature bit shifting looks ok to me but that error seems very large. Are you using a type -K thermocouple? How are you connecting from the IC to the thermoucouple? it is making a good connection and is there other bi-metal action going on that could be effecting your read...