Search found 1507 matches

by kersing
Sat Sep 05, 2020 6:06 pm
Forum: Flowcode V8
Topic: Semiduplex asynchronism serial 10bit
Replies: 10
Views: 185

Re: Semiduplex asynchronism serial 10bit

Are you using the SendChar macro? This should send the 00. If you use SendString the 00 will be considered a string terminator and not transmitted.
by kersing
Fri Sep 04, 2020 8:13 am
Forum: Flowcode V8
Topic: Semiduplex asynchronism serial 10bit
Replies: 10
Views: 185

Re: Semiduplex asynchronism serial 10bit

This is just a difficult way to describe 8n1, so you can use use the regular uart component with 8 bits, no parity and 1 stop bit.
by kersing
Wed Aug 26, 2020 12:51 pm
Forum: Flowcode V8
Topic: OLED with SPD0301 driver
Replies: 17
Views: 456

Re: OLED with SPD0301 driver

Malloc/free are part of a library. Having them available is a luxury, not a given in my experience. Memory management functions use memory themselves in runtime overhead (ram use for the administration) and code overhead (flash). So small platforms usually don’t offer them. Check https://microchipde...
by kersing
Wed Aug 26, 2020 11:31 am
Forum: Flowcode V8
Topic: OLED with SPD0301 driver
Replies: 17
Views: 456

Re: OLED with SPD0301 driver

New is not part of C. In plain C you use things like malloc/free, however these rely on a library that provides memory management which is not present in small controllers. (That memory management library would be required for new/delete as well)
by kersing
Sun Aug 23, 2020 12:58 pm
Forum: Flowcode V8
Topic: OLED with SPD0301 driver
Replies: 17
Views: 456

Re: OLED with SPD0301 driver

Keep in mind the compiler needs to be able to allocate the entire array in continuous memory. That is easier for multiple smaller arrays...
There might be devices where the XC8 compiler can not allocate arrays > 128 bytes.
by kersing
Sat Aug 22, 2020 3:56 pm
Forum: General Programming
Topic: 64Bit Variables
Replies: 1
Views: 249

Re: 64Bit Variables

1. Please do not start a topic in Tips and Tricks for questions. Share your knowledge over there. 2. Flowcode does not implement 64 bit variables by itself. You might be able to use them in C code, depending on: 3. It helps if you specify which version of Flowcode you are using and what target chip ...
by kersing
Sat Aug 22, 2020 11:51 am
Forum: Flowcode V8
Topic: PIC Compiling issue
Replies: 4
Views: 168

Re: PIC Compiling issue

Apart from Flowcode itself you need to install the compiler package(s) for the target controller(s). You seem to be missing the PIC 8 bit compiler. If you login to the Matrix website you can choose to download Flowcode. Just below the Flowcode download there is a ‘line’ Download Toolchains. You need...
by kersing
Mon Aug 17, 2020 5:22 pm
Forum: General Programming
Topic: 2d Arrays, Accessing and External LUT
Replies: 5
Views: 383

Re: 2d Arrays, Accessing and External LUT

Last time I checked 32 bits were 4 bytes, not 8 bytes. (4 * 8 = 32)
by kersing
Sat Aug 15, 2020 8:54 am
Forum: Flowcode V8
Topic: Scroll Line instead of Display
Replies: 3
Views: 194

Re: Scroll Line instead of Display

Sounds like you could just use the cursor positioning options and write the new data to the second display line. For other solutions Flowcode would have to buffer what you write to the display in ram which is a resource not all processors have a lot off. BTW, when rewriting, don’t forget to add spac...
by kersing
Mon Aug 10, 2020 2:07 pm
Forum: General Programming
Topic: bug in 12F1612.fcdx
Replies: 2
Views: 197

Re: bug in 12F1612.fcdx

It helps if you tell us which Flowcode version you are using. (And use the right forum category for posting)
by kersing
Sat Jul 11, 2020 11:01 am
Forum: General Programming
Topic: Level Shifting questions
Replies: 6
Views: 386

Re: Level Shifting questions

Why not use a controller that runs on 3v3 and forgo any level shifting?
by kersing
Thu Jun 18, 2020 3:35 pm
Forum: Flowcode V8
Topic: Script Syntax Error
Replies: 5
Views: 414

Re: Script Syntax Error

Hi Steve,

Can the check for updates be changed to be done once at program startup and not every time I save a flowchart?

Best regards,

Jac
by kersing
Sat Jun 13, 2020 3:59 pm
Forum: Flowcode V8
Topic: Arduino Uno USB Serial
Replies: 2
Views: 204

Re: Arduino Uno USB Serial

The Arduino UNO has no USB integrated into the controller but uses a uart port to drive a serial to USB chip on the board.
So you need to use a serial (uart) component, not the USB component.
by kersing
Thu Jun 11, 2020 9:49 pm
Forum: Flowcode V8
Topic: AUTOMATIC SANITIZER
Replies: 20
Views: 1101

Re: AUTOMATIC SANITIZER

It helps if you tell what part of the program doesn’t work.
by kersing
Thu Jun 04, 2020 11:45 am
Forum: Freelance Embedded Engineers
Topic: SST39SF010A programming
Replies: 2
Views: 541

Re: SST39SF010A programming

Hi Ben,

I’m working on this already, my hardware should arrive tomorrow.

Regards,

Jac
by kersing
Sat May 16, 2020 3:47 pm
Forum: Flowcode V8
Topic: PopUp Window font size
Replies: 5
Views: 394

Re: PopUp Window font size

Is your display set to use scaling to increase readability? To 200% perhaps?
by kersing
Sat May 09, 2020 8:39 pm
Forum: General Programming
Topic: help with the program
Replies: 3
Views: 505

Re: help with the program

What kind of delay? What do you want to achieve?

Posting a screenshot doesn’t allow us to provide a lot of help, please attach your Flowchart.
by kersing
Thu May 07, 2020 5:35 pm
Forum: Flowcode V8
Topic: signed/unsigned int 64 inside FC8
Replies: 3
Views: 406

Re: signed/unsigned int 64 inside FC8

You will need to take a close look at the data sheet for the compiler for your particular device to see if it is implemented. Last time I looked the 8 bit PIC devices didn't support 64 bit. However it seems some (all) now do if you use a fairly recent XC8 compiler. My (slightly older) FC8 install us...
by kersing
Tue Apr 28, 2020 7:15 pm
Forum: Flowcode V8
Topic: I2C LCD on Crow Pi
Replies: 9
Views: 926

Re: I2C LCD on Crow Pi

peterhalloway wrote: any further help on this please the wider community don't seem to be coming forward with anything
Didn’t know we were obligated to help you out, but feel free to send me a kit and I’ll take a look at your issue...
by kersing
Fri Apr 17, 2020 9:39 pm
Forum: Flowcode V7
Topic: Help with timer
Replies: 6
Views: 714

Re: Help with timer

I don’t have a computer with Flowcode handy for the next 48 hours so may-be you can try yourself and post the result here for me to take a look at after the weekend?
by kersing
Fri Apr 17, 2020 7:10 pm
Forum: Flowcode V7
Topic: Help with timer
Replies: 6
Views: 714

Re: Help with timer

You could try to calculate a more frequency interrupt (like 5 a second) and use a counter in the interrupt handler to only execute the code you need to run at 1 hz when the counter reaches 5.
by kersing
Fri Apr 17, 2020 7:04 pm
Forum: Flowcode V8
Topic: .Return Variable
Replies: 6
Views: 822

Re: .Return Variable

You only return a valid value if Test is set to 1. In other cases .Return is not set to a value in your Macro due to the decision at the end of the macro. For all other values of Test you are calling another macro from your macro. If you always want to set the return value you need to move the assig...
by kersing
Fri Apr 17, 2020 12:32 pm
Forum: Flowcode V8
Topic: .Return Variable
Replies: 6
Views: 822

Re: .Return Variable

Something to take into account, you should always set the .Return to a value. In your macro you are only setting a value is Test equals 1, not if it is set to any other value. Nothing obvious looks wrong with the code, however during simulation I notice in "Zeit_Datum_Anzeigen_2" you loop 500 times ...
by kersing
Thu Apr 16, 2020 11:40 pm
Forum: Bug Reports
Topic: GLCD_STM32F746NG1 on STM32F746 discovery
Replies: 5
Views: 541

Re: GLCD_STM32F746NG1 on STM32F746 discovery

Can you attach your flowchart so we can check what you are doing? Calling the macro will not change what is already on the display, just newly items you display. Is that your expectation?
by kersing
Tue Apr 14, 2020 8:33 pm
Forum: Flowcode V8
Topic: ESP8266 Demo weather test file from web site
Replies: 7
Views: 639

Re: ESP8266 Demo weather test file from web site

Not knowing this specific example, in general, what is the time between updates? If > 30 seconds the other party will be glad to have their resources back for another request so close the socket.