Search found 1060 matches

by chipfryer27
Thu Feb 08, 2024 8:51 pm
Forum: Bug Reports
Topic: Timer problems PIC18LF14K50
Replies: 11
Views: 504

Re: Timer problems PIC18LF14K50

Hi

Maybe a stupid question, but ultimately what is it you wish to achieve from the input? If there is an issue with the Timer0 Counter, could you perhaps use IOC instead, albeit with a change of pins?

Regards
by chipfryer27
Thu Feb 08, 2024 12:19 pm
Forum: General
Topic: Pi PICO - Reading Internal Pins and ADC pins
Replies: 2
Views: 226

Re: Pi PICO - Reading Internal Pins and ADC pins

Hi

The Pico quickly grew on me. Really like it.

This post explains how to use the LED and also second core.

viewtopic.php?f=3&t=2065&hilit=pico&start=20

Regards
by chipfryer27
Sat Feb 03, 2024 10:34 am
Forum: General
Topic: PWM and MOSFET
Replies: 1
Views: 384

Re: PWM and MOSFET

Hi I think you need to provide a bit more information. Your title is PWM and MOSFET suggesting the Pin connects to the gate of your transistor, but you haven't said how you know the voltage isn't stable. You would need a scope or logical analyser to see what is happening at the pin. Simulating, your...
by chipfryer27
Tue Jan 30, 2024 4:39 pm
Forum: General
Topic: Protocol j1587
Replies: 80
Views: 7266

Re: Protocol j1587

Hi And you have spelling issues too :lol: Good you are getting values. To convert two 8-bit values to a 16-bit value is quite easy. Create a new unsigned integer e.g. Speed. This can have a value of 0 - 65,535 You have two bytes of data, lets call them B1 and B2. Say they are (in binary coz it's eas...
by chipfryer27
Tue Jan 30, 2024 1:22 pm
Forum: General
Topic: Protocol j1587
Replies: 80
Views: 7266

Re: Protocol j1587

Hi Just remembered you are actually receiving dump of Hex (I think), so in your main loop, test for each "match" sequentially instead of going to the end of the loop after a match is found. So have a decision for Char 14 and in the"yes" branch, process. Then after the above, have another decision br...
by chipfryer27
Tue Jan 30, 2024 12:52 pm
Forum: General
Topic: Protocol j1587
Replies: 80
Views: 7266

Re: Protocol j1587

Hi Okay, never having played with the Nextion it seemed something to rule out, which you have, so that's good. Looking at your chart, in addition to Martin's comments about getting rid of certain components, I am a bit confused (easily done). What it seems you want to do is:- You interrupt to captur...
by chipfryer27
Tue Jan 30, 2024 9:34 am
Forum: General
Topic: Protocol j1587
Replies: 80
Views: 7266

Re: Protocol j1587

Hi Well done on getting it working. Following on from Martin above, your engine is constantly sending out a data dump containing many values that are of no interest to you and you will be processing these too, hopefully rejecting, but you will still be processing everything that is coming in. I don'...
by chipfryer27
Tue Jan 30, 2024 4:00 am
Forum: Bug Reports
Topic: Error when returning a string from a macro
Replies: 7
Views: 754

Re: Error when returning a string from a macro

Hi I would need to see your chart to be sure but it looks like you are trying to do a type conversion within a calculation. Unless both variables are of the same type you cannot just use the equals (=) to assign values. In your screenshot, it looks like you are trying to assign the value of local va...
by chipfryer27
Mon Jan 29, 2024 5:28 am
Forum: Feature Requests
Topic: ESP32: (unidirectional) RS422 component?
Replies: 2
Views: 664

Re: ESP32: (unidirectional) RS422 component?

Hi

Could you just simply set "Use Tx" to "No" thereby freeing up the pin?

Regards
by chipfryer27
Sun Jan 28, 2024 12:02 pm
Forum: General
Topic: History of Flowcode
Replies: 31
Views: 49568

Re: History of Flowcode

Hi Thought I'd update with the latest edition to my arsenal. Pictured below is a SysBlocks board. This pretty much is a "lab on a board" for experimenting with DSP. It came with two SMA to SMA leads, two SMA to BNC adapters, a BNC T-Piece and a 3.5mm to 3.5mm stereo jack lead (auxiliary lead). Power...