Search found 1916 matches

by mnfisher
Sat Aug 15, 2026 9:57 pm
Forum: Bug Reports
Topic: RC5
Replies: 15
Views: 126

Re: RC5

As I couldn't get the component to transmit - I modified my code above to the 12f1840 (**** actually 12LF1840 - you might need to change this).

This gave:

LabNation_Screenshot73.png

Note that one slight oddity - because the transmit is interrupt driven (and doesn't wait for completion at the ...
by mnfisher
Sat Aug 15, 2026 8:39 pm
Forum: Bug Reports
Topic: RC5
Replies: 15
Views: 126

Re: RC5

I've just attempted to test a 'transmit' with a PIC12F1840 (actually a 12LF1840 which is the low voltage version) - however I get a compilation error using the component:

12f1840.c: myisr()
977: FCM_::Timer_Event();
^ (195) expression syntax
1017: }
^ (350) unused label "FCM_" (from line 0 ...
by mnfisher
Fri Aug 14, 2026 6:53 am
Forum: General
Topic: Modulo Ky-022 Sensor Receptor Infrarrojo Ir Pic
Replies: 58
Views: 6151

Re: Modulo Ky-022 Sensor Receptor Infrarrojo Ir Pic

Hi Enrique,

I've not had time to work on this either - but I've just received some PICs including a few of the types mentioned above and might get a chance to depend a little time over the next week.

It would be better to get the component fixed - but i was hoping to get something working - at ...
by mnfisher
Tue Aug 11, 2026 1:05 pm
Forum: Bug Reports
Topic: Properties have variable names instead of description?
Replies: 2
Views: 78

Re: Properties have variable names instead of description?

Thanks Steve,

I must have hit the toggle by mistake sometime... Been running like it for weeks too :-)
by mnfisher
Mon Aug 10, 2026 4:15 pm
Forum: Bug Reports
Topic: Properties have variable names instead of description?
Replies: 2
Views: 78

Properties have variable names instead of description?

It might be a configuration setting - but I've noticed that properties seems to get the variable name displayed rather than the description...
properties.png
properties.png (89.13 KiB) Viewed 78 times
by mnfisher
Mon Aug 03, 2026 8:37 am
Forum: User Components
Topic: Bug Report: GLCD SSD1963 component generates [-Woverflow] warnings and fails on PIC32MX795F512L
Replies: 11
Views: 1315

Re: Bug Report: GLCD SSD1963 component generates [-Woverflow] warnings and fails on PIC32MX795F512L

... The modified component code imports glcd_ssd1963 (parallel) and is using this for the read & write routines (and others).

So modifying this would be one way to go.

Alternatively - as a test - write a tiny component or program to test the display. This doesn't need to be very large - it needs ...
by mnfisher
Sun Aug 02, 2026 3:50 pm
Forum: User Components
Topic: Bug Report: GLCD SSD1963 component generates [-Woverflow] warnings and fails on PIC32MX795F512L
Replies: 11
Views: 1315

Re: Bug Report: GLCD SSD1963 component generates [-Woverflow] warnings and fails on PIC32MX795F512L

I tested this - I modified your component (slightly - gave it a new GUID changed the name) and compiled to SSD_TEST - then compiled the test program having modified it to use the new component and removed the old component. The new component moved to development - with name SSD_TEST

Have no way of ...
by mnfisher
Tue Jul 28, 2026 5:55 pm
Forum: Bug Reports
Topic: Power (pow) returns incorrect result
Replies: 4
Views: 786

Re: Power (pow) returns incorrect result

This might give a solution:


#include <math.h>
#include <stdio.h>

int main()
{
int a, b;

// Using typecasting for
// integer result
a = (int)(pow(5, 2) + 1e-9);
b = round(pow(5,2));
printf("%d \n%d", a, b);

return 0;
}



Which looks to give the correct result on both cases (from ...
by mnfisher
Tue Jul 28, 2026 3:32 pm
Forum: Bug Reports
Topic: Power (pow) returns incorrect result
Replies: 4
Views: 786

Re: Power (pow) returns incorrect result

It might be because it uses floating point...

pow(2, flt_fromi(FCL_I));

- not sure why it doesn't also do flt_fromi(2)?

However - it shouldn't make it so wrong ?

Wrote my own integer
by mnfisher
Tue Jul 28, 2026 3:15 pm
Forum: Bug Reports
Topic: Power (pow) returns incorrect result
Replies: 4
Views: 786

Power (pow) returns incorrect result

Just spent a while chasing a bug in my code - but it turns out 'pow' returns an incorrect value.

It actually returns the result - 1 (except for pow(2, 0) and pow(2, 1))

The attached demonstrates this behaviour (on an Arduino - other devices may differ?):


2**0 = 1
2**1 = 2
2**2 = 3
2**3 = 7
2**4 ...