Search found 14581 matches

by Benj
Wed Sep 22, 2021 1:03 pm
Forum: Flowcode V8
Topic: Servo Component not working
Replies: 9
Views: 2615

Re: Servo Component not working

Hi Rob,

Did you look at the output pin A0 with a LED, is it blinking on and off at the right rate?
by Benj
Tue Sep 21, 2021 10:23 am
Forum: Flowcode V7
Topic: GLCD ST7920
Replies: 1
Views: 2761

Re: GLCD ST7920

Hello,

I beleive the Register Select (RS) pin is often labelled as A0.
by Benj
Tue Sep 21, 2021 10:05 am
Forum: Flowcode V8
Topic: Servo Component not working
Replies: 9
Views: 2615

Re: Servo Component not working

Hi Rob, Ok let's try and narrow down the area we are looking. With the 16F18426 failing to load the program to the chip. What programmer are you using? What error messages are you getting? With the 16F1454 while it does have 2 PWM channels, they are not the standard Output Compare (OC) PWM channels ...
by Benj
Fri Sep 17, 2021 4:05 pm
Forum: Flowcode V7
Topic: Candy Machine
Replies: 7
Views: 4849

Re: Candy Machine

How about a little micro switch on the door to check if it is properly closed?
by Benj
Fri Sep 17, 2021 1:48 pm
Forum: Flowcode V8
Topic: Servo Component not working
Replies: 9
Views: 2615

Re: Servo Component not working

Hello Rob, The servo component is driven using two output compare peripherals and a timer. Usually this means a device with at least 2 OC based PWM channels. An oscillator speed of 1MHz is pretty slow. On the device you selected you should be able to use the max speed of 32MHz. Just make sure the cl...
by Benj
Fri Sep 17, 2021 9:38 am
Forum: Flowcode V7
Topic: Candy Machine
Replies: 7
Views: 4849

Re: Candy Machine

Hi Enrique, Sounds like a sweet project :D bad dad jokes there I'm sorry :wink: If you set position 0 and then wait say half a second for the motor to move into position then you can call the disable macro to switch off the motor output. This will cut power to the motor and stop the vibration. Then ...
by Benj
Thu Sep 16, 2021 1:00 pm
Forum: E-blocks
Topic: BL0169 LCD Display
Replies: 1
Views: 3386

Re: BL0169 LCD Display

Hi Richard,

I think this is what you're after.
https://www.matrixtsl.com/resources/fil ... asheet.pdf

Page 77 lists the key differences between this display and a standard hitachi display.
by Benj
Thu Sep 16, 2021 11:22 am
Forum: Bug Reports
Topic: Problems with PIC12F629 that doesn't program them to work
Replies: 36
Views: 16686

Re: Problems with PIC12F629 that doesn't program them to work

Hi Simon,

Thanks for letting us know. I've been doing some reading and gone back through the code produced by Flowcode and so far I have't found any problems. The chip I have also isn't working but is very old now and so I'll see if I can get my hands on a new one to do more tests with.
by Benj
Tue Sep 14, 2021 10:40 am
Forum: Bug Reports
Topic: Problems with PIC12F629 that doesn't program them to work
Replies: 36
Views: 16686

Re: Problems with PIC12F629 that doesn't program them to work

Hi Simon, There are reports of other people having problems with a specific version of the XC8 compiler. I wonder if it's worth trying the updated toolchain from here and see how you get on with that. https://www.flowcode.co.uk/download/file/download.php?f=toolchains&file=Flowcode_Compiler_PICv2.msi...
by Benj
Fri Sep 10, 2021 11:07 am
Forum: User Components
Topic: New led string to play with. SK6812 - rgbw
Replies: 19
Views: 11850

Re: New led string to play with. SK6812 - rgbw

Hello,

Sorry about the delay and thanks for bumping, this should hopefully be resolved for you now.
by Benj
Fri Sep 10, 2021 9:51 am
Forum: Flowcode V8
Topic: Circular buffer - FlushBuffer command
Replies: 4
Views: 3185

Re: Circular buffer - FlushBuffer command

Hi Abhi, This should not be required. If you flush the buffer then the buffer is effectively empty and available to receive more data. Make sure you use the GetNumberBytes macro to check the contents of the buffer before reading out data and then you will be sure you won't be reading out old stale d...
by Benj
Wed Sep 08, 2021 10:25 am
Forum: General Programming
Topic: BL0086 mloader error
Replies: 4
Views: 5526

Re: BL0086 mloader error

Hello, Thanks for letting us know and glad the stand alone mLoader is working well. It may be that the problem has already been fixed in Flowcode v8.2 can you update your installation to this and then run the check for updates to get all the latest component and definition updates. https://www.matri...
by Benj
Wed Sep 08, 2021 10:17 am
Forum: 8-Bit PIC
Topic: FAT SD Card Data Logger
Replies: 28
Views: 34421

Re: FAT SD Card Data Logger

Hello Abhi,

Are you using v7 or v8? It should be possible to set the SPI prescaler so that the initial speed is less than 400KHz.

A PIC at 64MHZ will actually be running at an instruction rate of 16MHz. 16MHz / 1:64 Prescaler = 250KHz
by Benj
Wed Sep 08, 2021 10:14 am
Forum: Flowcode V8
Topic: PIC16F1936 I2C
Replies: 6
Views: 1961

Re: PIC16F1936 I2C

Hello,

That's odd I'm not aware of a problem with the hardware I2C on that device.

Are you able to post a simple project that demonstrates the issue and we will investigate it for you.
by Benj
Fri Sep 03, 2021 4:24 pm
Forum: General Programming
Topic: BL0086 mloader error
Replies: 4
Views: 5526

Re: BL0086 mloader error

Hello, What version of mLoader are you using? Is it supplied with a version of Flowcode or downloaded seperatley from our site? Has it worked previously? Is Open = No means mLoader cannot open a connection to the board, is there anything else that might have a connection open, e.g. another instance ...
by Benj
Wed Aug 18, 2021 4:03 pm
Forum: User Components
Topic: New led string to play with. SK6812 - rgbw
Replies: 19
Views: 11850

Re: New led string to play with. SK6812 - rgbw

Hi Chad,

I've now added the component into v8 for you.

Let me know how you get on.
by Benj
Tue Aug 17, 2021 10:10 am
Forum: Flowcode V8
Topic: distance sensors VMA337 and HC-SR04
Replies: 3
Views: 1576

Re: distance sensors VMA337 and HC-SR04

Hi Jan,

Very sorry to hear that hope you're ok.

We have recently covered both of these items in Flowcode v9. You could use the free trial and see uow you get on. I believe both items are currently included in the free offering and so will continue to work once the 30 day trial is up.
by Benj
Wed Jul 14, 2021 10:11 pm
Forum: General Programming
Topic: I2c communication between 2 Arduinos
Replies: 2
Views: 5930

Re: I2c communication between 2 Arduinos

Hello, Which device will be programmed with Flowcode? The master or the slave? We have some helpful info on I2C available here. https://www.matrixtsl.com/blog/simplified-communications-i%C2%B2c-and-spi/ I have created SPI slave devices in the past and use finite state machines to help perform the co...
by Benj
Thu Jul 08, 2021 4:06 pm
Forum: Flowcode V8
Topic: problem with "Nodemcu" Esp8266 component macro {solved}
Replies: 6
Views: 2065

Re: Super cofused about Esp8266 component macro {solved}

Hello, V9 can certainly do it, I think v8 should be able to as well. I recently fixed some bugs but I'm pretty sure I rolled the fixes back to v8 if you do the component updates. Here's a video I made using a ESP32, simply replace the ESP32 TCP component with the ESP8266 component and it all should ...
by Benj
Thu Jul 08, 2021 9:57 am
Forum: Flowcode V8
Topic: problem with "Nodemcu" Esp8266 component macro {solved}
Replies: 6
Views: 2065

Re: Super cofused about Esp8266 component macro

Hello, Thanks for posting your program, it looks fine to me. I wonder if the NodeMcu1 is the problem, it's designed to be a stand alone board rather then a simple WIFI module. One thing you could try is a baud of 115200 and see if that helps. I have only ever used the component with ESP01 ESP8266 de...
by Benj
Wed Jul 07, 2021 11:40 pm
Forum: Flowcode V8
Topic: problem with "Nodemcu" Esp8266 component macro {solved}
Replies: 6
Views: 2065

Re: Super cofused about Esp8266 component macro

Hello,

Please can you post a simple program and we will have a look for you and suggest if you're doing anything wrong.
by Benj
Mon Jul 05, 2021 1:32 pm
Forum: Flowcode V8
Topic: LED Flashing - delay problem
Replies: 27
Views: 12978

Re: LED Flashing - delay problem

Hello,

How about this, just a few slight changes to simplify the calculations and to change the clock source of the timer interrupt.
led test 2.fcfx
(22.95 KiB) Downloaded 128 times
by Benj
Mon Jul 05, 2021 1:18 pm
Forum: General Programming
Topic: Weather Station Project based on HMI and ESP32
Replies: 2
Views: 59969

Re: Weather Station Project based on HMI and ESP32

Hello,

Yes Flowcode v9 works with the ESP32 hardware.
by Benj
Mon Jun 28, 2021 10:14 am
Forum: Flowcode V8
Topic: MAX31855 pin mapping
Replies: 2
Views: 1718

Re: MAX31855 pin mapping

Hello Roy,

On some target chips the SPI and other peripherals can be assigned to various IO pins. When this is an option the remap properties become active allowing you to select which IO pins you want to use.