Hi Vatel20,
You can also initialize the array in FC v9
Put Table[5] when creating variable and
{10,20,30,40,50} in the initial value box...
Martin
Search found 945 matches
- Sat Jun 26, 2021 1:40 pm
- Forum: General
- Topic: how Make table byte
- Replies: 3
- Views: 2221
- Wed Jun 23, 2021 12:48 am
- Forum: General
- Topic: Interrupt with Timer Question.
- Replies: 3
- Views: 2237
Re: Interrupt with Timer Question.
Hi,
Transmitting via uart requires some timing - and may well involve other interrupts. Keep the interrupt service routine as short as possible (this is true when using any language - not just for flowcode) - you'll save a lot of difficulty and debugging time too
Martin
Transmitting via uart requires some timing - and may well involve other interrupts. Keep the interrupt service routine as short as possible (this is true when using any language - not just for flowcode) - you'll save a lot of difficulty and debugging time too
Martin
- Tue Jun 22, 2021 6:39 pm
- Forum: General
- Topic: Interrupt with Timer Question.
- Replies: 3
- Views: 2237
Re: Interrupt with Timer Question.
Hi seokgi,
You are trying to do too much in the interrupt handler (for example send data to UART) - this will probably cause things to break...
The interrupt should just increment a counter (to count pulses on pin 0 for example)...
Martin
You are trying to do too much in the interrupt handler (for example send data to UART) - this will probably cause things to break...
The interrupt should just increment a counter (to count pulses on pin 0 for example)...
Martin
- Tue Jun 22, 2021 6:36 pm
- Forum: General
- Topic: Send files from terminal to microcontroller.
- Replies: 4
- Views: 2296
Re: Send files from terminal to microcontroller.
I posted a 'simple' sender and receiver here: viewtopic.php?f=3&t=440 - which deals with end of file etc which might be helpful??
Martin
Martin
- Mon Jun 21, 2021 10:42 am
- Forum: App Developer
- Topic: App Developer Examples - General purpose I/O board - PIC, USB
- Replies: 5
- Views: 3824
Re: App Developer Examples - General purpose I/O board - PIC, USB
I rewrote the Arduino slave firmware.... Called (modestly) SCADA+ - it's completely compatible with the current firmware, but with two advantages.. 1) It's smaller and faster (about 2k smaller on Uno) (speed is largely controlled by the UART rate - but being faster means it might be better running o...
- Sun Jun 20, 2021 9:05 pm
- Forum: Bug Reports
- Topic: Arduino Leonardo programming (HID)
- Replies: 10
- Views: 5769
Arduino Leonardo programming (HID)
I'm sure this has been mentioned before - but don't seem to find a solution. The upload script needs to open a com port at 1200 baud to kick the Leonardo into it's boot loader (see, for example, https://nicholaskell.wordpress.com/tag/leonardo/ ) - instead it currently 'asks' the user to hit 'reset' ...
- Sat Jun 19, 2021 10:02 am
- Forum: Feature Requests
- Topic: Suggestions for new microcontroller support
- Replies: 49
- Views: 104720
Re: Suggestions for new microcontroller support
Some interesting new AVR MCUs becoming available - for example the ATTiny 816 highlighted in this months PE (Practical Electronics - formerly E(veryday)PE)
Martin
Martin
- Wed Jun 02, 2021 10:16 am
- Forum: Bug Reports
- Topic: Scada Injector for I2C changed to API _I2C
- Replies: 7
- Views: 3744
Re: Scada Injector for I2C changed to API _I2C
Thanks Ben,
I notice another problem in the Uno SCADA firmware - on getting a pin state (cmd 0x81) - ReturnCount should be set to 1 (to return the data). The ArduinoMega firmware does this correctly (and I didn't check the others....)
Martin
I notice another problem in the Uno SCADA firmware - on getting a pin state (cmd 0x81) - ReturnCount should be set to 1 (to return the data). The ArduinoMega firmware does this correctly (and I didn't check the others....)
Martin
- Tue Jun 01, 2021 7:53 am
- Forum: Bug Reports
- Topic: GLCD Font Initialisation error
- Replies: 1
- Views: 1382
GLCD Font Initialisation error
I struggled to get some code using a glcd ssd1306 (i2c) working. I was getting some 'garbage' in part of the print and a crash (on MCU) after a few prints. Flipping back to v8 - and all worked well. Trying a simple test case - here I have a glcdssd1306(i2c) 128 x 32 attached to an Arduino UNO. glcd_...
- Sat May 29, 2021 6:46 pm
- Forum: Bug Reports
- Topic: Scada Injector for I2C changed to API _I2C
- Replies: 7
- Views: 3744
Re: Scada Injector for I2C changed to API _I2C
Hi Ben, Just been trying to get a ssd1306(i2c) display working in SCADA mode (Okay I'm expecting slow - but it did work previously). A simple test program : i2c test.fcfx Works okay on the MCU (printing 'Hello') However - it doesn't seem to work in SCADA mode. Indeed it's worse in that FC crashes af...