Search found 12552 matches

by Benj
Fri Oct 19, 2018 5:24 pm
Forum: E-blocks
Topic: E-blocks 2 Bluetooth (BL0170)
Replies: 6
Views: 295

Re: E-blocks 2 Bluetooth (BL0170)

Hello, Yes that should be possible, the easiest way is to use an USB to TTL serial adapter with flying leads and then connect the leads to the E-block. Something like this would likely do a good job. https://cpc.farnell.com/pro-signal/usb-ttl-a/usb-to-ttl-serial-cable/dp/SC13277?mckv=s4gn1YHXI_dc|pc...
by Benj
Wed Oct 17, 2018 10:34 am
Forum: Flowcode V8
Topic: SPI Slave component
Replies: 1
Views: 128

Re: SPI Slave component

Right most if not all 8-bit PICs should now be supported. Just looking at the 16-bit PICs.

Here is another example showing how to buffer incoming bytes using a circular buffer component to send to a LCD.

SPI_Slave2.fcfx
(11.36 KiB) Downloaded 6 times
by Benj
Tue Oct 16, 2018 5:23 pm
Forum: Flowcode V8
Topic: How to pass array as parameter to macro
Replies: 4
Views: 70

Re: How to pass array as parameter to macro

I think I see what you need you're trying to pass a sub part of an array. Flowcode won't currently let you do this so you might have to do it like this. CalcCRC(MsgLength, DataArray, ArrayOffset) The ArrayOffset basically tells you to start from location 1 of the data array. Arduino uses arrays all ...
by Benj
Tue Oct 16, 2018 4:56 pm
Forum: Flowcode V8
Topic: How to pass array as parameter to macro
Replies: 4
Views: 70

Re: How to pass array as parameter to macro

Hello,

Here's an example.
ArrayDemo.fcfx
(6.37 KiB) Downloaded 8 times


If you're still having trouble then please post what you have so far then we might be able to help directly with your project file.
by Benj
Tue Oct 16, 2018 3:00 pm
Forum: Forums d'aide en français
Topic: Créer une nouvelle composante?
Replies: 3
Views: 148

Re: Créer une nouvelle composante?

Salut chris,

Oui, cela devrait être possible.


Hi Chris,

Yes this should be possible.
by Benj
Mon Oct 15, 2018 5:25 pm
Forum: Flowcode V5
Topic: EEProm Initialize Help?
Replies: 10
Views: 1462

Re: EEProm Initialize Help?

It's been a long while since I looked at Flowcode 5 and I could be overlooking some problem but the initial values field should set the EEPROM values after programming. Here is the programming sequence. Delete EE Contents - all values set to 255 Program initial values - anything with an initial valu...
by Benj
Mon Oct 15, 2018 5:15 pm
Forum: Flowcode V7
Topic: OLED Color SSD1331 display.
Replies: 17
Views: 572

Re: OLED Color SSD1331 display.

Hi Giuseppe, I'm testing on an Arduino Uno with the following connections. CS -> A1 (C1) DC -> A2 (C2) Reset -> A0 (C0) SDA -> D11 (B3) SCL -> D13 (B5) VCC -> 5V GND -> GND Here's my program. glcd_Test.fcfx And an image of the working display. gLCD_Test.jpg For help with the SPI connections. MISO = ...
by Benj
Mon Oct 15, 2018 11:04 am
Forum: Flowcode V8
Topic: Problems with ADC read out PIC16F18313
Replies: 9
Views: 141

Re: Problems with ADC read out PIC16F18313

Hello, If you look here and follow the instructions for the full update then hopefully you will get something. https://www.matrixtsl.com/wiki/index.php?title=Dynamic_Updates#Performing_a_full_update_of_all_files Otherwise Flowcode only shows you updated relevant to your project, i.e. definitions and...
by Benj
Mon Oct 15, 2018 10:51 am
Forum: Flowcode V7
Topic: OLED Color SSD1331 display.
Replies: 17
Views: 572

Re: OLED Color SSD1331 display.

Hello,

The MISO in the display is connected to PORTC.4 in the PIC which is SDA.


The display SDA pin needs to be connected to C5 not C4. Hopefully this is all that is required. C4 should be unconnected.
by Benj
Fri Oct 12, 2018 9:48 pm
Forum: Flowcode V2 & V3
Topic: DS1307 / I2C / CLOCK PROJECT
Replies: 20
Views: 24659

Re: DS1307 / I2C / CLOCK PROJECT

Hello Burak, question1 : Is 16 decimal number ? Yes 16 is decimal, a hex number should be indicated with 0x e.g. 0x10 would be = 16 This is not always the case so it's right to be cautious but in Flowcode 0x is hexadecimal and 0b is binary. question2 16 is assigned to Address variable ? ISN'T İT ? Y...
by Benj
Fri Oct 12, 2018 8:46 pm
Forum: Bug reports
Topic: FC7.2.1.4 - Where are the gLCD pins connections ?
Replies: 3
Views: 52

Re: FC7.2.1.4 - Where are the gLCD pins connections ?

I tried a lot with zoom in the 3D Panel, but really I can´t see any trace of them. This is starting to ring a bell, I'll investigate for you. So, is it impossible to use these 3 display with PIC micorocontrollers ? Yes currently these three displays are quite complex to drive at a good speed and so...
by Benj
Fri Oct 12, 2018 6:03 pm
Forum: Flowcode V8
Topic: SPI Slave component
Replies: 1
Views: 128

SPI Slave component

Hello, I have just put together and finished testing a new SPI slave component. Currently I've only added support for the 16F188xx family mainly because these have a lot of the tricky features such as remappable pins. If you would like to see support for other devices then please let us know. You ca...
by Benj
Fri Oct 12, 2018 5:57 pm
Forum: Bug reports
Topic: FC7.2.1.4 - Where are the gLCD pins connections ?
Replies: 3
Views: 52

Re: FC7.2.1.4 - Where are the gLCD pins connections ?

Hello, The displays on the ST Discovery dev boards are configured by the underlying ST ARM C library and the IO pins are fixed hence not available as properties. You could potentially be zoomed in too close on the 3D panel, try toggling the perspective button at the top of the panel window and see i...
by Benj
Fri Oct 12, 2018 11:51 am
Forum: Flowcode V6
Topic: Unable to Change Compiler Parameters
Replies: 6
Views: 1229

Re: Unable to Change Compiler Parameters

Hello Chet,

The Uno R3 should program fine in FC8. Maybe worth trying the free 30-day trial and see how you get on.
by Benj
Fri Oct 12, 2018 11:49 am
Forum: Flowcode V8
Topic: Problems with ADC read out PIC16F18313
Replies: 9
Views: 141

Re: Problems with ADC read out PIC16F18313

This fix is now all available via the v8 update system.
by Benj
Fri Oct 12, 2018 11:25 am
Forum: Flowcode V7
Topic: OLED Color SSD1331 display.
Replies: 17
Views: 572

Re: OLED Color SSD1331 display.

Hello, The component gLCD_SSD1331 has both MISO and MOSI but the display only SDA: MISO connected to it and MOSI remains unconnected? The component is based on SPI which enables MISO and MOSI together, they are both shown to inform you that you have lost the functionality of the MISO pin. The SDA pi...
by Benj
Fri Oct 12, 2018 11:16 am
Forum: AVR & Arduino
Topic: ATTiny85
Replies: 2
Views: 59

Re: ATTiny85

Hi Martin, I did a POV display project a few years back. I'm using a dsPIC but you still have lots of made up boards and motors etc if you fancy one. https://www.instructables.com/id/Ultimate-RGB-Propeller-Display/ I also did an earlier versionusing an AVR but the LEDs were much bigger making the pr...
by Benj
Fri Oct 12, 2018 10:59 am
Forum: Flowcode V8
Topic: how can i use multi function shield for arduino
Replies: 7
Views: 159

Re: how can i use multi function shield for arduino

Hello, Without actually seeing a schematic I can only go off the library code and it looks like there is some sort of buffer IC that drives the 7-seg displays. Here is a quick example that simulates and should also hopefully drive the hardware. Shield.fcfx Let us know how you get on. The board looks...
by Benj
Thu Oct 11, 2018 2:46 pm
Forum: Feature Requests
Topic: grove display(s) as component
Replies: 17
Views: 312

Re: grove display(s) as component

Brilliant,

Ok please send display(s) to the following and I'll get them up and running for you.

C.O. Ben Rowland
Matrix TSL - The Factory
33 Gibbet Street
Halifax
West Yorkshire
HX1 5BA
UK

The board looks fine and should work with the existing Uno R3 definitions etc.
by Benj
Thu Oct 11, 2018 1:49 pm
Forum: Flowcode V8
Topic: Problems with ADC read out PIC16F18313
Replies: 9
Views: 141

Re: Problems with ADC read out PIC16F18313

Aha, yes indeed that would explain it well spotted.

Attachment removed!
by Benj
Thu Oct 11, 2018 1:04 pm
Forum: Flowcode V8
Topic: Problems with ADC read out PIC16F18313
Replies: 9
Views: 141

Re: Problems with ADC read out PIC16F18313

Hello, I think I've found the problem for you. I've modified the CAL code but can't push it to the update system at the moment as I'm away from my desk. So for now you can do a manual update if you like or you can wait for the update push, probably tomorrow morning. Attachments removed! Reload your ...
by Benj
Thu Oct 11, 2018 12:42 pm
Forum: Flowcode V8
Topic: Problems with ADC read out PIC16F18313
Replies: 9
Views: 141

Re: Problems with ADC read out PIC16F18313

Ok thanks. I'll take a look at the ADC code for the device and make sure this is correct.
by Benj
Thu Oct 11, 2018 12:39 pm
Forum: Flowcode V8
Topic: Problem with array creation
Replies: 6
Views: 60

Re: Problem with array creation

Hmm. Seems to be working for me.

Arrays.jpg
Arrays.jpg (79.31 KiB) Viewed 54 times


ArrayTest.fcfx
(10.82 KiB) Downloaded 4 times


Could you elaborate more on what exactly isn't working.
by Benj
Thu Oct 11, 2018 12:32 pm
Forum: Flowcode V8
Topic: CJMCU-75 temp module question
Replies: 14
Views: 173

Re: CJMCU-75 temp module question

Hello, I cannot say 100% as the module has a LM75A instead of the LM75B but it looks like it should be compatible and work correctly. Currently the address should be: A0 = VCC A1 = GND A2 = GND Taken from this line of the C code. FCR_RETVAL = FC_CAL_I2C_Transaction_Init_1(0x49); Inside the Initialis...
by Benj
Thu Oct 11, 2018 12:20 pm
Forum: Flowcode V8
Topic: Problems with ADC read out PIC16F18313
Replies: 9
Views: 141

Re: Problems with ADC read out PIC16F18313

Hello, It might be worth playing with the slider_plastic1 component properties, specifically the conversion speed setting. You are running at 32MHz with a conversion speed of /2 so this is likely far to fast. Maybe try /16 or /32 instead. As an unrelated side note your delays will be a bit off becau...