Search found 872 matches

by mnfisher
Sat Feb 20, 2021 6:37 pm
Forum: Bug Reports
Topic: Upload problem on Arduino Nano 57600
Replies: 2
Views: 1916

Upload problem on Arduino Nano 57600

After the latest definition file update for the Arduino Nano (57600) - the command line for AVRDUDE is incorrect. H:\>"H:\AVR\avrv5\batchfiles\..\bin\avrdude.exe" -p m328p -P 57600 -b "H:\Flowcode1.hex" -c arduino -D -U flash:w:"" avrdude.exe: invalid baud rate specified 'H:\Flowcode1.hex' Should be...
by mnfisher
Sat Feb 20, 2021 6:31 pm
Forum: General
Topic: UNO SCADA SPI Prescaler question
Replies: 11
Views: 5946

Re: UNO SCADA SPI Prescaler question

The documents aren't very clear? I'd guess the values correspond to prescaler of 4, 16, and 64 (ie clock of 16Mhz (FOsc?) / prescale) - the firmware calls SetPrescaler in the CAL SPI. (Docs don't specify here either) Edit - however experimenting in v8 (see below) - calling SetPrescaler with (2,4,8 e...
by mnfisher
Fri Feb 19, 2021 9:32 pm
Forum: General
Topic: Flowcode Exchange
Replies: 19
Views: 21099

Flowcode Exchange

drum roll....... We are pleased to announce the launch of www.flowcodexchange.com This is a (independent) site to allow the sale of Flowcode components and programming expertise. Currently there are a few components - but we will be adding more over the next few weeks. These are components that don'...
by mnfisher
Fri Feb 19, 2021 7:27 pm
Forum: Projects - Embedded
Topic: Const to Flowcode - Copying from C to FC made simple
Replies: 0
Views: 1997

Const to Flowcode - Copying from C to FC made simple

Another project. Again based on an experiment I did on making a Flowchart viewer. This copies const or #defines from C to Flowcode - for me one of the problems with flowcharts is the hard-coded values. Easy to write but hard to maintain at a later date. This copies const declarations of the form: co...
by mnfisher
Fri Feb 19, 2021 7:15 pm
Forum: Projects - Embedded
Topic: MacroSwap - Easy macro copying between flowcharts
Replies: 7
Views: 4444

MacroSwap - Easy macro copying between flowcharts

A project of sorts. I'm not sure this is the right place for it - as it's really a PC app. This app lets you transfer macros from one Flowcode program to another. It's quick and easy to do multiple macros in one easy operation. Simple load the 'source' flowchart by clicking on 'source' and a target ...
by mnfisher
Sat Feb 06, 2021 9:14 pm
Forum: General
Topic: Sensor presur hx710
Replies: 5
Views: 3155

Re: Sensor presur hx710

Take a look at the Arduino library for the HX711 (I chose first in the list by Rob Tillaart)- it looks fairly straightforward. It should work AOK with the HX710B.

I don't have a sample to work with - but it should be possible to get it to work with Flowcode.

Martin
by mnfisher
Mon Feb 01, 2021 12:19 pm
Forum: Bug Reports
Topic: AT TINY 85 i2c non compatibile display SSD 1306
Replies: 7
Views: 4422

Re: AT TINY 85 i2c non compatibile display SSD 1306

Thanks Ben, The single buffer gave a bit of a speed boost - but whether it's worth an upgrade to the component? I think it's worth having a version that will work with smaller MCUs (so without the full font support) - I just used an 8x8 font (scaling would be easy enough to add too). Does this need ...
by mnfisher
Sun Jan 31, 2021 5:59 pm
Forum: General
Topic: Tips and tricks for saving RAM
Replies: 3
Views: 2341

Re: Tips and tricks for saving RAM

Good luck.

The other thing to watch is components used - some (displays/sd for example) can use a fair bit of memory for buffers.

Martin
by mnfisher
Sat Jan 30, 2021 8:08 pm
Forum: General
Topic: Tips and tricks for saving RAM
Replies: 3
Views: 2341

Re: Tips and tricks for saving RAM

Hi Oscar, The compiler settings just control the size of the code - the RAM use depends on the number of variables and also depth of procedure calls. So the things you can do - use the smallest possible variable size for data types. Use loops with your own variable as the index. Flowcode will genera...
by mnfisher
Sat Jan 30, 2021 12:18 pm
Forum: Bug Reports
Topic: AT TINY 85 i2c non compatibile display SSD 1306
Replies: 7
Views: 4422

Re: AT TINY 85 i2c non compatibile display SSD 1306

And a version with a print that works in v9.. ssd1306Tiny.fcfx It has a simple Print - no scaling (or fonts) - but makes for a much smaller code. Which should allow use on the ATTiny and other 'smaller' MCUs. Note that the RAM limits still apply so a 64x128 display won't work with 512 bytes RAM (16 ...