Search found 855 matches

by mnfisher
Wed Mar 27, 2024 10:31 am
Forum: General
Topic: E-Blocks 2 settings
Replies: 4
Views: 49

Re: E-Blocks 2 settings

If you post your chart - someone will surely be able to help...

Martin
by mnfisher
Tue Mar 26, 2024 12:14 pm
Forum: General
Topic: ESP32 Toolchain.
Replies: 1
Views: 38

Re: ESP32 Toolchain.

I had a bit of a play with 5.2 - but although I could compile from the command line couldn't get it to work from within FC.

So went back to 5.1.2. Which seems to work AOK..

Martin
by mnfisher
Fri Mar 22, 2024 10:48 am
Forum: Bug Reports
Topic: Lookup table resizing.
Replies: 4
Views: 74

Re: Lookup table resizing.

Ok - I'll replace the spaces with commas - odd that it works for the original data block - which also uses spaces....
by mnfisher
Fri Mar 22, 2024 5:42 am
Forum: Bug Reports
Topic: Lookup table resizing.
Replies: 4
Views: 74

Re: Lookup table resizing.

Yes - a table of 8 bit values.
Not sure if size is limited but the initial size shows correctly and in simulation (which is all that is needed here) seems to work correctly (although I didn't single step through it all - and the simulation locked when I altered the rate slider)

Martin
by mnfisher
Thu Mar 21, 2024 9:16 pm
Forum: Bug Reports
Topic: Lookup table resizing.
Replies: 4
Views: 74

Lookup table resizing.

I hit a small issue resizing a lookup table (in an Arduino sketch - though this might not be relevant) I created an 8 bit lookup table and pasted in 4637 values - this was correctly reflected in the num values field. However - to create a simpler 'demo' version of my program I then replaced these va...
by mnfisher
Thu Mar 21, 2024 9:08 pm
Forum: General
Topic: Protocol j1587
Replies: 80
Views: 4784

Re: Protocol j1587

A version that allows multiple 'message blocks' to be read:

Here allowing MIDs of 128 and 144.
V2.fcfx
(48.59 KiB) Downloaded 4 times
by mnfisher
Thu Mar 21, 2024 11:01 am
Forum: General
Topic: Protocol j1587
Replies: 80
Views: 4784

Re: Protocol j1587

Yes, and no.

It actually stores a 16bit sum - the twos complement of this (% 256) needs to be 0.

Martin
by mnfisher
Thu Mar 21, 2024 9:30 am
Forum: General
Topic: Protocol j1587
Replies: 80
Views: 4784

Re: Protocol j1587

The reset needs the checksum resetting too. So will only receive one message as is...

V2. 0 this evening 🙄
by mnfisher
Wed Mar 20, 2024 10:49 pm
Forum: General
Topic: Protocol j1587
Replies: 80
Views: 4784

Re: Protocol j1587

Regarding the row of two byte PIDs, for example: engine speed - PID 190, data 087 009 - PID_data[0] /; 087;/ + (PID_data[1] /;009;/<<8) I get a 16-bit value and multiply it by 0.25 (res/bit) So - the PID - get from PID[0] - if this is >= 128 then the 16 bit value is PID_Data[0] ( NOT PID_Data[0] + ...
by mnfisher
Wed Mar 20, 2024 4:30 pm
Forum: General
Topic: Protocol j1587
Replies: 80
Views: 4784

Re: Protocol j1587

Let us know how it goes... Remote debugging is notoriously tricky :cry: I think the one piece of error checking it needs is to check the length of the message - if it's greater than 21 bytes then reset and start looking for MID again. As it stands - is the end isn't found then it will trample over m...