Search found 1570 matches

by kersing
Fri Mar 15, 2024 8:17 pm
Forum: Flowcode V8
Topic: fround command pic 24fFV
Replies: 4
Views: 105

Re: fround command pic 24fFV

Calculations with the numbers should be fine, it is just displaying for us humans that doesn’t work as expected.
by kersing
Fri Mar 15, 2024 10:20 am
Forum: Flowcode V8
Topic: fround command pic 24fFV
Replies: 4
Views: 105

Re: fround command pic 24fFV

Please keep in mind computers work in ones and zeros, not floating point numbers. As a result some floating point numbers can not be represented exactly and are a close approximation. Check https://floating-point-gui.de/ for an easy explanation or https://ece.uwaterloo.ca/~dwharder/NumericalAnalysis...
by kersing
Sat Mar 02, 2024 10:47 pm
Forum: Flowcode V8
Topic: Download the program for the device via the Internet.
Replies: 26
Views: 701

Re: Download the program for the device via the Internet.

I've already heard it from you once...
Have you heard about signatures? That is mine. Has been for a long time. It will be displayed on all my messages on this forum, no matter what the content.
by kersing
Sat Mar 02, 2024 4:43 pm
Forum: Flowcode V8
Topic: Download the program for the device via the Internet.
Replies: 26
Views: 701

Re: Download the program for the device via the Internet.

Sounds very complicated and you are not talking about programming a device, just updating a variable.

Consider using the TCP/IP component (or WLAN) to connect to a named (web)server to request the new value (use a unique ID for each device) and storing the information using the eeprom component.
by kersing
Sat Nov 11, 2023 3:19 pm
Forum: Flowcode V8
Topic: some problems with spi data transmission
Replies: 140
Views: 5328482

Re: some problems with spi data transmission

You can certainly get the same level of support for software if you pay the same amount for it and a hefty maintenance fee. In all other cases it is a reality that software gets outdated and support stops. For Flowcode you can update to the current version and that one is supported (as is the previo...
by kersing
Thu Nov 02, 2023 12:07 pm
Forum: Flowcode V8
Topic: Negative Voltage @ ADC
Replies: 3
Views: 9356

Re: Negative Voltage @ ADC

Make sure the smps is one of the 'isolated' types so it does not share a ground with the circuit you are measuring. If it does share a ground you risk releasing magic smoke...
by kersing
Thu Nov 02, 2023 11:28 am
Forum: Flowcode V8
Topic: Negative Voltage @ ADC
Replies: 3
Views: 9356

Re: Negative Voltage @ ADC

If you only need negative voltages and the meter can be powered by battery you could just use the circuits negative voltage as ground for the meter and the circuit ground as meter positive voltage. This won’t work if you power your meter from a power supply that supplies a ground equal to circuit gr...
by kersing
Fri Mar 17, 2023 1:26 am
Forum: Flowcode V6
Topic: Pushbutton Trigger
Replies: 23
Views: 173961

Re: Pushbutton Trigger

Just wondering, why not connect the P1 signal to B1 and skip the additional components? Or connect an infrared detector/sensitive photodiode to the PIC to detect the coin?
by kersing
Sun Feb 26, 2023 10:22 pm
Forum: Flowcode V8
Topic: No funciona proyecto con pic16F883
Replies: 29
Views: 196523

Re: No funciona proyecto con pic16F883

According to the compiler warnings you are using floating point variables. Do you need floating point or would (long) integers be sufficient?
by kersing
Sun Jan 01, 2023 10:12 pm
Forum: Flowcode V8
Topic: CAN internal
Replies: 5
Views: 7153

Re: CAN internal

It helps if you tell what controller you are using. And post the flowchart you are experiencing issues with.
by kersing
Sun Oct 02, 2022 10:33 am
Forum: Flowcode V5 Issues
Topic: FC5 activation problem
Replies: 12
Views: 16595

Re: FC5 activation problem

I get the RegMe.exe and I click YES, but still no success. I enter name and key, RegMe popup states it has accepted the name and key, I close FC% and launch it again and now I get message 16 days left... :( Are you running as Administrator? Flowcode needs to write to protected resources at activati...
by kersing
Fri Aug 26, 2022 8:36 am
Forum: General Programming
Topic: Converting a program from Arduino to Flowcode
Replies: 4
Views: 8486

Re: Converting a program from Arduino to Flowcoe

It helps if you specify how large the program is and whether it uses libraries for hardware which might not be supported for by Flowcode.
by kersing
Wed Feb 02, 2022 10:29 pm
Forum: General Programming
Topic: Conversion of flowcode to Arduino.
Replies: 2
Views: 8291

Re: Conversion of flowcode to Arduino.

Do you really expect help circumventing the license restrictions on the vendors official support forum?
by kersing
Sun Dec 12, 2021 12:29 pm
Forum: Bug reports
Topic: Compile error msg from PIC16F15354 ADC
Replies: 11
Views: 11409

Re: Compile error msg from PIC16F15354 ADC

Hi Jan, You are running out of memory which is not uncommon when using floating point as those libraries are relatively large. If there isn’t any code you can remove the ADC fix for the larger (memory wise) device is probably the only real solution. Sounds like a job for @Benj if FC7 is still being ...
by kersing
Thu Nov 25, 2021 6:24 pm
Forum: General Programming
Topic: V9 Human Interface/UART not working for me
Replies: 1
Views: 8551

Re: V9 Human Interface/UART not working for me

Please use the V9 forum for messages concerning Flowcode 9.
by kersing
Sun Oct 17, 2021 3:49 pm
Forum: Flowcode V8
Topic: Compiler error xc32
Replies: 4
Views: 6930

Re: Compiler error xc32

Please go to the folder of your flowchart and look for the .msg file. Past the contents to a message. Your screenshot is illegible (for me at least).
by kersing
Mon Aug 16, 2021 7:29 pm
Forum: Flowcode V8
Topic: Oscillator question (LP-mode)
Replies: 2
Views: 6292

Re: Oscillator question (LP-mode)

Why do you post the same question on both this and the V9 forum?

For one wire you need a faster clock. However you could consider using the internal oscillator at high speed and switching back to the 32khz clock afterwards.
by kersing
Wed Jul 07, 2021 2:24 pm
Forum: Electronics products
Topic: PCB layout and schematic software
Replies: 51
Views: 169773

Re: PCB layout and schematic software

My worry when it comes to free software in the cloud is when will the business model change and all kinds of additional limitations be forced upon its users. This has been happing to a lot of ‘forever free’ software over recent years. Yes, it is still free but hardly usable.
by kersing
Tue Jul 06, 2021 5:32 pm
Forum: Electronics products
Topic: PCB layout and schematic software
Replies: 51
Views: 169773

Re: PCB layout and schematic software

Elektor is still available on paper. The digital edition is an additional format not the only option.
by kersing
Fri Jun 25, 2021 9:13 am
Forum: Flowcode V8
Topic: MAX31855
Replies: 3
Views: 6526

Re: MAX31855

Any digital output pin should work. Don’t forget to initialize the pins to a known state at the start of you program. And to drive them to active mode when using the SPI component.
by kersing
Fri Apr 23, 2021 10:12 am
Forum: Flowcode V8
Topic: AVR error incrementing unsigned long variable inside interrupt
Replies: 2
Views: 5971

Re: AVR error incrementing unsigned long variable inside interrupt

Could you post your failing program (flowcode source) so we can take a look at what might be the issue?
by kersing
Tue Apr 20, 2021 1:40 pm
Forum: General Programming
Topic: ECIO40P16 and dsPIC33EP256MU806 chip
Replies: 9
Views: 13713

Re: ECIO40P16 and dsPIC33EP256MU806 chip

Your solution is not what Ben describes. An I/O pin is connected VUSB and has a pull down. Not VUSB is connected to GND with a resistor.
The question is of course which I/O pin...
by kersing
Fri Mar 19, 2021 9:36 pm
Forum: 8-Bit PIC
Topic: Look Up Table - Size of elements
Replies: 6
Views: 12877

Re: Look Up Table - Size of elements

This doesn’t make sense. If you have 4000 elements of 1 byte (let alone a larger integer) you need 4000 memory locations to store those values. None of the memory allocations in your output has 6 times 4000 elements = 24000 elements allocated. My guess is the lookup tables are truncated or the optim...
by kersing
Fri Mar 19, 2021 2:24 pm
Forum: 8-Bit PIC
Topic: Look Up Table - Size of elements
Replies: 6
Views: 12877

Re: Look Up Table - Size of elements

The amount of elements you can add to a LUT depends on the microcontroller you want to use. For 8 bit pic 50000 would be a huge amount and I don’t thing it can be done. For int alone that would be 100000 flash positions in flash.
by kersing
Tue Mar 09, 2021 11:23 pm
Forum: E-blocks
Topic: Flashing EEPROM with old EBLOCKS EB-006-6
Replies: 2
Views: 10536

Re: Flashing EEPROM with old EBLOCKS EB-006-6

Sorry to disappoint but the EB006 is for programming (certain) PIC controllers.