Search found 13624 matches

by Benj
Thu Nov 14, 2019 12:46 pm
Forum: Bug Reports
Topic: PIC32MZ + WS2812 Not Working
Replies: 48
Views: 1003

Re: PIC32MZ + WS2812 Not Working

I've just had a look and it seems inverted.

0.0 = full brightness, 255 or 1.0 = Off.

I'll get this fixed ASAP.
by Benj
Thu Nov 14, 2019 11:22 am
Forum: General Programming
Topic: Non-volatile memory on a PIC18F87J50
Replies: 3
Views: 100

Re: Non-volatile memory on a PIC18F87J50

Ok thanks, Here's a simple example with macros to read, erase and write. You must erase the row of memory before writing values. I just copied the example code from the datasheet and substituted the variables for Flowcode variables. It compiles but I haven't tested it any more than this. Flash_18F87...
by Benj
Thu Nov 14, 2019 10:53 am
Forum: Flowcode V8
Topic: ENC28J60 TCPIP working nice but LED?
Replies: 2
Views: 29

Re: ENC28J60 TCPIP working nice but LED?

Hello Stefan, I've just looked at the code generated by the ENC28J60 component and there is no LED or LED_base so it looks like it's another component that is generating this code, maybe a LED? If you can send me the project file, public or private then I'll try and help you track down which compone...
by Benj
Thu Nov 14, 2019 10:47 am
Forum: Bug Reports
Topic: PIC32MZ + WS2812 Not Working
Replies: 48
Views: 1003

Re: PIC32MZ + WS2812 Not Working

Hello,

This could very useful indeed Ben.


The new component has been made and it should be available now via the update system.
by Benj
Wed Nov 13, 2019 11:56 am
Forum: C and ASM Programming
Topic: C-code
Replies: 15
Views: 367

Re: C-code

Hi Martin, The GetCountMicroSeconds uses floating point maths and hence the problem in terms of stopping on a fixed delay. Normally you would time how long something takes e.g. start the timer wait for something to happen, stop the timer and then collect the time elapsed and this will provide a high...
by Benj
Wed Nov 13, 2019 11:17 am
Forum: Flowcode V8
Topic: PIC24F128GA010 EEPROM
Replies: 3
Views: 51

Re: PIC24F128GA010 EEPROM

This component written by Kersing might be useful.
viewtopic.php?f=58&t=15932

Not sure if it will work with the PIC24F128GA010 but it's worth a go.
by Benj
Wed Nov 13, 2019 11:14 am
Forum: General Programming
Topic: I2C Multi Master
Replies: 6
Views: 301

Re: I2C Multi Master

Hello,

I've done the PIC device for you with the new interrupt.
12F1840.fcdx
(18.66 KiB) Not downloaded yet


The AVR devices do not have SPI or I2C based interrupts available so you may instead have to use pin change interrupts instead.
by Benj
Wed Nov 13, 2019 10:59 am
Forum: Flowcode V7
Topic: Missing Atmega328 Chip
Replies: 6
Views: 396

Re: Missing Atmega328 Chip

Hello, We won't be adding a new chip to the v7 release as moving to a new compiler can often be dangerous and can break things. You are welcome to try the new compiler using the compiler options window and copy an existing FCD definition to try the new device. Moving to the new version of the compil...
by Benj
Tue Nov 12, 2019 5:58 pm
Forum: Bug reports
Topic: Pic16F1618 UART Remap
Replies: 12
Views: 119

Re: Pic16F1618 UART Remap

Hello, In your configuration settings you have Low Voltage Programming Enabled - Please change this to Disabled. You wight also want to change the PPSLOCK item so that it is Enabled. The Watchdog timer is also enabled, I would maybe disable this until you're happy things are working ok. Config.jpg O...
by Benj
Tue Nov 12, 2019 11:11 am
Forum: Foro de soporte español
Topic: Error de compilación
Replies: 3
Views: 137

Re: Error de compilación

Hola,

Envíe el archivo de proyecto .fcfx y quizás también el archivo .msg.txt.


Hello,

Please send the .fcfx project file and maybe also the .msg.txt file.
by Benj
Tue Nov 12, 2019 11:08 am
Forum: Flowcode V7
Topic: 2D Simulation
Replies: 1
Views: 43

Re: 2D Simulation

Hello,

Without seeing your program it's hard to tell but do you have a delay in your main program loop? The delay allows Flowcode time to breathe and do things like updating the graphics on the panel window.
by Benj
Tue Nov 12, 2019 11:06 am
Forum: General Programming
Topic: Non-volatile memory on a PIC18F87J50
Replies: 3
Views: 100

Re: Non-volatile memory on a PIC18F87J50

Hello,

Are you using Flowcode? If so which version and I'll see if I can generate you an example.
by Benj
Mon Nov 11, 2019 6:14 pm
Forum: Forums d'aide en français
Topic: Lire un fichier Excel ou txt sur carte SD?
Replies: 3
Views: 158

Re: Lire un fichier Excel ou txt sur carte SD?

Salut christian Avez-vous regardé l'exemple, cela devrait aider beaucoup et devrait presque faire tout ce dont vous avez besoin. Essayez de poster où vous allez et nous pourrons vous aider et vous aider. Hi Christian, Have you looked at the example, It should help a lot and should almost do everythi...
by Benj
Mon Nov 11, 2019 5:04 pm
Forum: Bug Reports
Topic: Half LCD display!
Replies: 10
Views: 547

Re: Half LCD display!

Hi Jorgen, The OpenGL software mode can only cope with textures of a certain size and hence half of the display is missing. We are investigating this. I would use the Hardware mode if and when available as it should allow Flowcode to run faster and reduce some of the workload from your CPU. This use...
by Benj
Mon Nov 11, 2019 5:02 pm
Forum: Foro de soporte español
Topic: Error de compilación
Replies: 3
Views: 137

Re: Error de compilación

Hola,

¿Es posible adjuntarme o enviarme un PM para investigar qué puede estar causando el error de compilación?


Hello,

Is it possible to attach or PM the file to me to investigate what might be causing the compilation error.
by Benj
Mon Nov 11, 2019 4:58 pm
Forum: Bug Reports
Topic: PIC32MZ + WS2812 Not Working
Replies: 48
Views: 1003

Re: PIC32MZ + WS2812 Not Working

Hi Chad, The SetBrightness does effect global brightness but you have to assign the colour values after setting the brightness. I can't think of a better way around this without resorting to a secondary buffer which would be memory intensive or scaling values on the fly which would effect the strict...
by Benj
Mon Nov 11, 2019 4:50 pm
Forum: Flowcode V8
Topic: Help with GLCD Toshiba T6963C (SOLVED)
Replies: 16
Views: 356

Re: Help with GLCD Toshiba T6963C (SOLVED)

Hello, Have you seen the BitmapDrawer component, this allows you to load a mono or colour bitmap to display on a GLCD from the program flash. This should all work well with the T6963C display. https://www.matrixtsl.com/wiki/index.php?title=Component:_Bitmap_Drawer_ROM_(Displays:_Graphical) There is ...
by Benj
Mon Nov 11, 2019 2:21 pm
Forum: Formula Flowcode
Topic: How Replace PIC16F4455 HS by new ?
Replies: 1
Views: 76

Re: How Replace PIC16F4455 HS by new ?

Hello,

I beleive this one has now been resolved via email but let us know how you're getting on.
by Benj
Mon Nov 11, 2019 2:21 pm
Forum: Bug Reports
Topic: Pic32mz DMX SLAVE BROKEN
Replies: 2
Views: 47

Re: Pic32mz DMX SLAVE BROKEN

Hi Chad,

Hopefully this has also been resolved for you now but let us know how you get on.
by Benj
Mon Nov 11, 2019 2:19 pm
Forum: Flowcode V8
Topic: ATTINY10 support
Replies: 2
Views: 85

Re: ATTINY10 support

Hi Dave,

Thanks for the suggestion.

It's not currently supported in our version of the AVR compiler. So it's a reasonaly big job.

I'll get it on the list and see if we can update the compiler to the latest without too many knock on effects.
by Benj
Mon Nov 11, 2019 2:14 pm
Forum: Flowcode V8
Topic: ESP8266
Replies: 1
Views: 75

Re: ESP8266

Hello, Yes there are two ways to simulate this component. 1) The component as is will allow you to simulate using the inbuilt TCP/IP DLL, this will test the network communications but not test the module communications. 2) The component simulation can be piped to real world hardware using an injecto...
by Benj
Mon Nov 11, 2019 2:09 pm
Forum: Flowcode V8
Topic: BL0127 stepper motor
Replies: 2
Views: 68

Re: BL0127 stepper motor

Hello,

Please try altering the order of your pin connections.

Currently you have the connections as this.

Coil 1 = C3
Coil 2 = C4
Coil 3 = C5
Coil 4 = C6

Please change the order to look like this and hopefully this should work as expected.

Coil 1 = C3
Coil 2 = C5
Coil 3 = C4
Coil 4 = C6
by Benj
Mon Nov 11, 2019 2:04 pm
Forum: Bug Reports
Topic: AP102 LEDs
Replies: 4
Views: 86

Re: AP102 LEDs

Brilliant, Thanks for letting us know and well done for finding the cause of the problem.

I've added the End Frame to the refresh function now and pushed the fix to the update system.

Let me know how you get on.
by Benj
Mon Nov 11, 2019 1:46 pm
Forum: Bug Reports
Topic: Pic32 I2C
Replies: 3
Views: 71

Re: Pic32 I2C

I've pushed a new version of the I2C CAL for the PIC32 to the update system now. It will hopefully fix the problem and not make it twice as bad :wink:

Let me know how you get on.
by Benj
Mon Nov 11, 2019 1:42 pm
Forum: Bug Reports
Topic: PIC32 PWM(internal) component broken
Replies: 5
Views: 123

Re: PIC32 PWM(internal) component broken

Thanks for letting us know. This one should be fixed now too.