Search found 14317 matches

by Benj
Thu Nov 19, 2020 2:34 pm
Forum: 8-Bit PIC
Topic: Fixed frequency timed output
Replies: 32
Views: 585

Re: Fixed frequency timed output

Hello,

With nothing selected just look at the properties window.
SimProp.jpg
SimProp.jpg (9.63 KiB) Viewed 54 times
by Benj
Thu Nov 19, 2020 2:31 pm
Forum: Feature Requests
Topic: Fast display ST7789!
Replies: 62
Views: 1184

Re: Fast display ST7789!

Hi Martin,
The fast library - defines CASET and RASET to be 0..240 (for the whole display) - whereas I would expect this to be 0..239
Yes agreed :D

Sounds like your having good progress.
by Benj
Wed Nov 18, 2020 5:10 pm
Forum: 8-Bit PIC
Topic: Fixed frequency timed output
Replies: 32
Views: 585

Re: Fixed frequency timed output

Make sure the Sim property is set to No before compiling. That's the only thing I can spot.
by Benj
Wed Nov 18, 2020 4:18 pm
Forum: Flowcode V8
Topic: USING 8 PWM outputs on PIC18F4431 in FC8
Replies: 4
Views: 79

Re: USING 8 PWM outputs on PIC18F4431 in FC8

Hi Theo,

The J13, J53, K22 devices all look to have 10 channels but might be worth a quick compile test to ensure all channels are supported.
by Benj
Wed Nov 18, 2020 3:19 pm
Forum: Feature Requests
Topic: FLAC (Free Lossless Audio Codec,) WAV, MP3
Replies: 2
Views: 55

Re: FLAC (Free Lossless Audio Codec,) WAV, MP3

Hi Stefan,

I've had a look for you and it looks like it might be possible, the current blocking factor is the on the fly compression and decompression. I've not quite found out how this is done yet but it looks like all the information should be there so I'll try and keep chipping away at it.
by Benj
Wed Nov 18, 2020 2:59 pm
Forum: 8-Bit PIC
Topic: Fixed frequency timed output
Replies: 32
Views: 585

Re: Fixed frequency timed output

Hello, I'm fairly sure the compiler in v7 and v8 will automatically use a software stack if required so it could be either proteus is throwing a warning that isn't a problem or there is a serious stack issue in your program and you have function A calling function B calling function A etc. If you po...
by Benj
Wed Nov 18, 2020 2:53 pm
Forum: Flowcode V8
Topic: Compiler problem PIC 18F4450
Replies: 7
Views: 96

Re: Compiler problem PIC 18F4450

Hello,

Here is a file that is preconfigured for the 18F4450 hopefully the display should work and you should get port A flashing on and off with delays of 1 second confirming all the timings are correct.
Demo18F4450.fcfx
(8.26 KiB) Downloaded 4 times
by Benj
Wed Nov 18, 2020 2:47 pm
Forum: Feature Requests
Topic: Fast display ST7789!
Replies: 62
Views: 1184

Re: Fast display ST7789!

Hi Martin,

The latest source is here.
viewtopic.php?p=103813#p103813
by Benj
Wed Nov 18, 2020 12:52 pm
Forum: Flowcode V8
Topic: USING 8 PWM outputs on PIC18F4431 in FC8
Replies: 4
Views: 79

Re: USING 8 PWM outputs on PIC18F4431 in FC8

Hello, Flowcode can drive the CCP based PWM but only some devices with special function PWM. On the 4431 device it looks like it would be fairly complex to crowbar the special function PWM in so it is supported by the component but C code should be an option for you. First to enable the PWM outputs....
by Benj
Tue Nov 17, 2020 9:55 pm
Forum: Feature Requests
Topic: Fast display ST7789!
Replies: 62
Views: 1184

Re: Fast display ST7789!

I'm sure I have one of these displays somewhere as I developed a component for v9 and its been working in that. However searching both my house and my desk at work I've not found it so far. I'll keep looking. I've compared the v8 component with the v9 component and the fast library and so far not sp...
by Benj
Mon Nov 16, 2020 6:05 pm
Forum: 32-Bit ARM
Topic: STM32F030F4 ADC conversion
Replies: 8
Views: 77

Re: STM32F030F4 ADC conversion

Hello, If you look at the properties for the UV component it looks like the conversion speed property isn't set correctly. You could also try calling the GetAverageByte function rather than the ADC RAW functions. Also 50 values is maybe a bit overkill. Could you try starting with the standard GetByt...
by Benj
Mon Nov 16, 2020 10:48 am
Forum: Bug Reports
Topic: bug of simulating in FCV8
Replies: 1
Views: 66

Re: bug of simulating in FCV8

Hello,

I've replicated the problem here. I think the issue is that the event pipe in Flowcode is becoming blocked due to your tight loop. If you add even a 1ms delay anywhere in the loop then it allows the pipe to work as intended and the simulation then works as expected.
by Benj
Sat Nov 14, 2020 3:22 pm
Forum: Flowcode V8
Topic: Laptop Specs for FLOWCODE 8.2
Replies: 2
Views: 107

Re: Laptop Specs for FLOWCODE 8.2

Hi John.

Yes I don't see a problem with that.
by Benj
Fri Nov 13, 2020 5:24 pm
Forum: Flowcode V8
Topic: Flowcode V8 LCD Screen Not Displaying Properly in 3D panel
Replies: 2
Views: 182

Re: Flowcode V8 LCD Screen Not Displaying Properly in 3D panel

Hello, This is a bug in the OpenGL software mode I beleive where it can't deal with texture over a certain size. At some point we increased the texture size of the LCD and at another point the default application setting changed to OpenGL Software which combined together and caused this problem. The...
by Benj
Fri Nov 13, 2020 12:44 am
Forum: Flowcode V8
Topic: No life!
Replies: 9
Views: 303

Re: No life!

Ok Ben! look forward to see FC9. Is Fc9 based onFC8, so we not have all the bugs from start :wink: :lol: Yes and no :D :lol: Some things are but other things have been rewritten for example the DSP components are all easier to use and no longer restricted by a DSP system component and the gLCDs now...
by Benj
Thu Nov 12, 2020 6:23 pm
Forum: Bug Reports
Topic: Ports A6 & A7 not accessible
Replies: 9
Views: 217

Re: Ports A6 & A7 not accessible

Thanks Martin,

This one should be fully sorted now, found a few devices with the same problem.
by Benj
Thu Nov 12, 2020 6:08 pm
Forum: General Programming
Topic: Proteus
Replies: 6
Views: 671

Re: Proteus

Hi Nick,

Think you're going to need to give us more information here?
by Benj
Thu Nov 12, 2020 6:07 pm
Forum: Flowcode V8
Topic: Interupt Question
Replies: 3
Views: 145

Re: Interupt Question

Hi Chris,

I agree with Bachman as long as the interrupt macro is fairly short lived. i.e. no delays or large amounts of code.

Unless your using a software UART and then all bet are off. Software UARTs should be last resort only and only used if/when you don't have any active interrupts.
by Benj
Thu Nov 12, 2020 6:03 pm
Forum: Feature Requests
Topic: Fast display ST7789!
Replies: 62
Views: 1184

Re: Fast display ST7789!

Hi Jorgen,

What about trying to toggle Backlight on and off, could be defaulting to off?

Any reaction on the dispay at all?

Yes the version on the update system is the same as the version here.
by Benj
Thu Nov 12, 2020 5:19 pm
Forum: Flowcode V8
Topic: No life!
Replies: 9
Views: 303

Re: No life!

Shubh Diwali Abhi, I'm working from home at the moment and we are hard at work in the FC9 release which hopefully is coming very soon. I have been a bit quiet on the forums to get my head down and crack on but hopefully we are coming to the end now. Anyway they are relaying the tarmac on the road ou...
by Benj
Thu Nov 12, 2020 5:08 pm
Forum: Flowcode V8
Topic: String Array Clear
Replies: 4
Views: 135

Re: String Array Clear

Hello, If it's just a single string - setting s[0] = 0 effectively marks it as a null string. This would also do the same thing, but only works for a single string. Array = "" If you have a 2D array then you would have to cycle through each string value. Array[idx][0] = 0 or Array[idx] = "" Where id...
by Benj
Thu Nov 12, 2020 11:58 am
Forum: Bug Reports
Topic: ST7789 Bug!
Replies: 4
Views: 211

Re: ST7789 Bug!

Hello,

I've remade the component with a reset pin on the other topic.

As for the CS pin please assign this to an unused IO pin.
by Benj
Thu Nov 12, 2020 11:49 am
Forum: Feature Requests
Topic: Fast display ST7789!
Replies: 62
Views: 1184

Re: Fast display ST7789!

Hello,

I've now added the reset pin, made the CS pin optional and tried to follow the exact sequence from the Fast library.

Fingers crossed.
gLCD_ST7789.fcpx
(11.48 KiB) Downloaded 5 times
glcd_ST7789.fcfx
(142.39 KiB) Downloaded 6 times
by Benj
Thu Nov 12, 2020 11:26 am
Forum: Bug Reports
Topic: FLOWKIT 2
Replies: 7
Views: 164

Re: FLOWKIT 2

Hello,

We have tried to replicate the problem and so far can't seem to. If you step in rather then clicking play does this make any difference.

Also can you confirm you're not using pins D0 and D1 in your program.
by Benj
Thu Nov 12, 2020 11:22 am
Forum: Electronics products
Topic: (re)programming a PIC over USB
Replies: 6
Views: 481

Re: (re)programming a PIC over USB

For single cell batteries I've had good results with these, though I was using Li-Po type cells they should be compatible with both Li-ion and Li-Po. https://uk.farnell.com/w/c/semiconductors-ics/power-management-ics-pmic/battery-management/battery-charger-ics/prl/results?battery-ic-case-style=sot-2...