Search found 12745 matches

by Benj
Sat Dec 15, 2018 12:44 am
Forum: Bug Reports
Topic: Arduino Nano328 UART bug
Replies: 2
Views: 45

Re: Arduino Nano328 UART bug

Thanks for letting us know.

For now you can roll back the CAL UART to the last version using the updates window and I'll get it fixed for you.
by Benj
Fri Dec 14, 2018 10:53 am
Forum: Foro de soporte español
Topic: Activacion de "pull-up" internas
Replies: 4
Views: 56

Re: Activacion de "pull-up" internas

Hola,

En el PIC16F876, tiene que usar este código C en un ícono de código C para habilitar las conexiones del puerto B.

Code: Select all

OPTION_REGbits.RBPU = 0;



Hello,

On the PIC16F876 you have to use this C code in a C code icon to enable the Port B pull ups.

Code: Select all

OPTION_REGbits.RBPU = 0;
by Benj
Thu Dec 13, 2018 4:31 pm
Forum: 8-Bit PIC
Topic: Microchip's __EPROM_DATA macro statement
Replies: 13
Views: 460

Re: Microchip's __EPROM_DATA macro statement

Hello, The usage of Initial Value property of EEPROM component does not work properly when you need to initialize an 256-byte EEPROM. Please can you provide an example project that shows this. The generated code looks ok, just investigating the console data. #ifdef MX_CAL_PIC __EEPROM_DATA(0,1,2,3,4...
by Benj
Thu Dec 13, 2018 3:59 pm
Forum: Foro de soporte español
Topic: Asignacion de componentes en V8
Replies: 2
Views: 95

Re: Asignacion de componentes en V8

Hola,

Me alegra que haya logrado encontrar la solución al problema, gracias por informarnos.


Hello,

Glad you've managed to find the solution to the problem, thanks for letting us know.
by Benj
Thu Dec 13, 2018 3:57 pm
Forum: Foro de soporte español
Topic: Activacion de "pull-up" internas
Replies: 4
Views: 56

Re: Activacion de "pull-up" internas

Hola, ¿Qué dispositivo PIC estás usando? Hay muchos PIC y la forma de habilitar la recuperación puede cambiar de un dispositivo a otro. Lo mejor es mirar la hoja de datos del dispositivo específicamente en la sección Puertos de E / S. Hello, Which PIC device are you using. There are a lot of PICs an...
by Benj
Thu Dec 13, 2018 3:52 pm
Forum: Flowcode V8
Topic: Possible Stack Overflow ???
Replies: 28
Views: 1181

Re: Possible Stack Overflow ???

Hi Martin, There's a nice pros and cons table here for the various optimisation levels. https://www.rapidtables.com/code/linux/gcc/gcc-o.html Seems that -O3 takes longer to compile and uses more ROM than -Os but certainly could be handy in cases like this. On the flip side -O3 seems to have signific...
by Benj
Thu Dec 13, 2018 3:28 pm
Forum: Flowcode V8
Topic: ECIO 40Pin+I2C LCD
Replies: 6
Views: 143

Re: ECIO 40Pin+I2C LCD

Hello,

I used 0x27 in Arduino and it is usable.


Arduino uses the 7-bit address without a bit shift.

Flowcode requires a 8-bit value wich is a combination of the 7-bit I2C address and a single read/write bit.

So in Flowcode try 0x27 x 2 = 0x4E or 78 in decimal.
by Benj
Thu Dec 13, 2018 3:23 pm
Forum: Flowcode V8
Topic: PICKit 3 compiler file
Replies: 9
Views: 121

Re: PICKit 3 compiler file

Hi Jan,

It's better to do the change yourself as Martin pointed out. Simply because the path to the MPLABX IPE changes with each released version number and that's if your using the default location which a lot of people don't.
by Benj
Thu Dec 13, 2018 2:54 pm
Forum: Bug Reports
Topic: DMX Slave Problem
Replies: 17
Views: 142

Re: DMX Slave Problem

I've uploaded the various improvements to the update system now so that at least PIC and AVR devices should work correctly.

We will continue to investigate the ST-ARM and see if it is possible to make this play ball nicely.
by Benj
Thu Dec 13, 2018 2:24 pm
Forum: Bug Reports
Topic: DMX Slave Problem
Replies: 17
Views: 142

Re: DMX Slave Problem

Hello Chad, Right I've been testing this using a 8-bit PIC and I've replicated the initial problem you were having. The 60MHz I am guessing is simply noise due to the floating input. I have now overhauled the components so that instead of uninitialising the UART and using delay based timings I now u...
by Benj
Thu Dec 13, 2018 11:42 am
Forum: Bug Reports
Topic: DMX Slave Problem
Replies: 17
Views: 142

Re: DMX Slave Problem

Hi Chad, Let me look into this today for you. I'll rig up some hardware and see if I can make things sync up a bit more reliably. The DMX sync is quite time critical so maybe I can just back this off a bit to get things more stable. The fact that it is occasionally syncing up is a good sign in that ...
by Benj
Thu Dec 13, 2018 11:21 am
Forum: Flowcode V8
Topic: Switching an output with ESP8266
Replies: 4
Views: 81

Re: Switching an output with ESP8266

Hello, Did you write the HTML code in Word by any chance? I'm seeing this. <body class=’%2′>Output is %2<p><form action=’process.htm’ And not sure if you can tell but the quotes for example ’%2′ seem to be unicode quotes and so won't work as expected. They should instead look like this '%2' which fo...
by Benj
Thu Dec 13, 2018 10:54 am
Forum: Flowcode V8
Topic: Clock Settings for Pic32
Replies: 2
Views: 43

Re: Clock Settings for Pic32

Hello, 80MHz in the project options sounds correct for 40MHz operation and for the delays. Getting the delays correct is a good starting point. In the configuration settings try changing the "Peripheral Clock Divisor" setting to Sys_Clk/1 and hopefully this will be closer to what you are e...
by Benj
Wed Dec 12, 2018 1:47 pm
Forum: General Programming
Topic: Modbus Slave
Replies: 7
Views: 212

Re: Modbus Slave

Hello,

Thanks for letting us know of the problem.

I have now managed to track down and fix the issue and the latest fixed files are now available via the Help -> check for updates menu.

Let us know how you get on.
by Benj
Wed Dec 12, 2018 12:51 pm
Forum: MIAC
Topic: RS232-dspMiac - Mifare Cards
Replies: 3
Views: 92

Re: RS232-dspMiac - Mifare Cards

Hi Gavin,

Sounds like a job for a loop.

Code: Select all

found = 0
idx = 0

while ( (idx < 9) && (found = 0) )
{
   if (B0[idx] = '3')
   {
      found = 1
   }
   idx = idx + 1
}
by Benj
Wed Dec 12, 2018 12:42 pm
Forum: Flowcode V7
Topic: Modbus RTU RS485 - Receiving Issue
Replies: 6
Views: 283

Re: Modbus RTU RS485 - Receiving Issue

Now the issue that i am facing is regarding the receiving data using 2 stop bits.


You shouldn't have to do anything and this will work as is. 2 stop bits is more a problem for the transmitter than the receiver.
by Benj
Wed Dec 12, 2018 12:40 pm
Forum: 32-Bit PIC
Topic: PIC32MZ2048EFH100 interrupt
Replies: 2
Views: 44

Re: PIC32MZ2048EFH100 interrupt

Hello,

In the Build -> Project Options -> Configuration Tab change the "Boot ISA Selection" setting from microMIPs to MIPS32 and hopefully this should solve the issue.
by Benj
Wed Dec 12, 2018 12:06 pm
Forum: Flowcode V7
Topic: Continuous servo; best way to control?
Replies: 3
Views: 60

Re: Continuous servo; best way to control?

Hello, I have made little robots like this in the past by modding standard servo motors. Using the servo controller component you can control a continuous servo by outputting 128 as the mid point this will give you 0 speed in either direction. Dropping the position from 128 to say 100 will give you ...
by Benj
Wed Dec 12, 2018 11:58 am
Forum: Foro de soporte español
Topic: PROBLEMA CON LAS ACTUALIZACIONES
Replies: 2
Views: 39

Re: PROBLEMA CON LAS ACTUALIZACIONES

Hola jose

Asegúrese de haber actualizado la versión 8.1 para que las actualizaciones continúen a la función


Hello Jose,

Please make sure you have updated to release version 8.1 for updates to continue to function.
by Benj
Wed Dec 12, 2018 11:56 am
Forum: Bug Reports
Topic: BitmapDrawerFAT bug
Replies: 2
Views: 57

Re: BitmapDrawerFAT bug

Hello, Aha thanks for letting us know. I believe I have found and fixed the problems now. The pixel height was a byte and so was being truncated from 271 to 15. The pixel index was a UINT and so was being truncated at 65535 instead of 129809, gave a very nice pattern but certainly not right. These h...
by Benj
Fri Dec 07, 2018 4:23 pm
Forum: Flowcode V7
Topic: Connect Grove LCD RGB to Base Shield on a Arduino
Replies: 37
Views: 9396

Re: Connect Grove LCD RGB to Base Shield on a Arduino

Bonjour, Seulement si vous montez les résistances de rappel externes sur les blindages. J'ai bien peur que l'IDE Arduino fasse la même chose en coulisse. Voici le code pour activer les tractions sur les pins Arduino A4 et A5. DDRC = 0x00; //PortC est une entrée PORTC = 0x30; //Les bits PortC 4 et 5 ...
by Benj
Fri Dec 07, 2018 4:08 pm
Forum: Flowcode V8
Topic: modbus tcp
Replies: 4
Views: 113

Re: modbus tcp

Hello, I've looked through your project file and made some minor changes. Basically the Modbus TCP component needs to connect to the Network Comms component and it is this that then connects to the Wiznet component. The Network comms component is quite new and interfacing with the Wiznet component i...
by Benj
Fri Dec 07, 2018 3:51 pm
Forum: Flowcode V7
Topic: Connect Grove LCD RGB to Base Shield on a Arduino
Replies: 37
Views: 9396

Re: Connect Grove LCD RGB to Base Shield on a Arduino

Bonjour, Brilliant content que cela fonctionne correctement pour vous maintenant. Pouvez-vous me dire quel périphérique cible vous utilisez et quelles broches sont connectées à l'écran et je vous générerai le code C nécessaire pour activer les résistances de rappel internes sur ces broches. Hello, B...
by Benj
Fri Dec 07, 2018 1:50 pm
Forum: Feature Requests
Topic: grove display(s) as component
Replies: 24
Views: 913

Re: grove display(s) as component

Hello, In the latest 8.1 the GLCD (Grove OLED) should work fine with the SH1107G 1.12" display. I need to spend a bit more time with the others so I will try and make this a priority for you. The File -> Check for updates menu should allow you to get the latest components and definitions etc.
by Benj
Fri Dec 07, 2018 1:43 pm
Forum: Flowcode V7
Topic: Connect Grove LCD RGB to Base Shield on a Arduino
Replies: 37
Views: 9396

Re: Connect Grove LCD RGB to Base Shield on a Arduino

Thanks for letting us know. I have had a go at fixing the problem and the latest version of the component is attached. lcd_Grove_I2C.fcpx I've also rolled out the fix for v8 and it is available via the Help -> Check For Updates menu. Note you need to be running the latest 8.1 installation for the up...