Search found 1005 matches

by chipfryer27
Mon Mar 25, 2024 7:43 pm
Forum: Projects - Embedded
Topic: RS485 example
Replies: 41
Views: 388

Re: RS485 example

Hi Referente al valor FE, parece una actividad constante el el pin TX del Pic emisor That isn't happening in your FC chart / simulation so may be an issue in Proteus. Eso no sucede en su gráfico/simulación FC, por lo que puede ser un problema en Proteus. In Project Options you can set your oscillato...
by chipfryer27
Mon Mar 25, 2024 5:59 pm
Forum: Projects - Embedded
Topic: RS485 example
Replies: 41
Views: 388

Re: RS485 example

Hi Sorry for the delay in replying due to travel. In a post above (11:38am) you show Proteus connections as Row on B0 - B3 and Column on B4 - B7 However FC has Row on B4 - B7 and Column on B0 - B3. This would certainly cause issues in reading the keypad. Both FC and Proteus need to have the same con...
by chipfryer27
Mon Mar 25, 2024 6:11 am
Forum: Projects - Embedded
Topic: RS485 example
Replies: 41
Views: 388

Re: RS485 example

Hi I don't use Proteus so I can't help with that. Your latest chart simulates correctly in Flowcode. When a key is pressed and held, the correct value is captured and stored in the array for transmission. Note though that this value only changes when you press a key and whatever is contained in the ...
by chipfryer27
Sun Mar 24, 2024 8:53 pm
Forum: Projects - Embedded
Topic: RS485 example
Replies: 41
Views: 388

Re: RS485 example

Hi

I will let you know what I find using Hardware, but that will be later in the week

- - -

Les haré saber lo que encuentro usando Hardware, pero eso será más adelante en la semana.

Regards
by chipfryer27
Sun Mar 24, 2024 8:18 pm
Forum: Projects - Embedded
Topic: RS485 example
Replies: 41
Views: 388

Re: RS485 example

Hi Thanks again for the response. Yes, I already see in the debugger and in the console that everything is transmitted fine. The problem is that at the output of the Tx terminal of the pic within Proteus, activity is seen but what the virtual terminal reads does not correspond to the values ​​that F...
by chipfryer27
Sun Mar 24, 2024 7:47 pm
Forum: General
Topic: EEPROM_FLOAT PIC16F1939
Replies: 12
Views: 166

Re: EEPROM_FLOAT PIC16F1939

Hi In simulation (no access to HW to test) Lat is set at a value and then stored in eeprom. Lat can then be set to zero, then read from eeprom returning the correct value. At this point Long had not been set. When read again in the Decision, Long had been set so perhaps that's the case? I'll test wh...
by chipfryer27
Sun Mar 24, 2024 6:12 pm
Forum: Projects - Embedded
Topic: RS485 example
Replies: 41
Views: 388

Re: RS485 example

Hi It simulates fine in Flowcode. If you look at Simulation Debugger and display the variable Key, it will show the array values. If you look at the console data View > Consoles and click on UART1, you will see what is being transmitted by the UART. All good there too. I see you are using Proteus so...
by chipfryer27
Sun Mar 24, 2024 5:28 pm
Forum: General
Topic: EEPROM_FLOAT PIC16F1939
Replies: 12
Views: 166

Re: EEPROM_FLOAT PIC16F1939

Hi

Hmm.... Using a different machine I'm now getting the same results as you. I may have not noticed it earlier though........

Everything is fine until you read from eeprom in your branch (if Inicio = 1).

I'll see what I get in hardware when I get a chance.

Regards
by chipfryer27
Sun Mar 24, 2024 1:14 pm
Forum: Projects - Embedded
Topic: RS485 example
Replies: 41
Views: 388

Re: RS485 example

Hi The problem appears to be that you are using a String as the array. If you look at Simulation Debugger and have your array as one of the variables to display, you will see that things are fine until you get to certain values which correspond to certain characters / action. If you create a byte ar...
by chipfryer27
Sun Mar 24, 2024 7:48 am
Forum: General
Topic: EEPROM_FLOAT PIC16F1939
Replies: 12
Views: 166

Re: EEPROM_FLOAT PIC16F1939

Hi I can only run in simulation, and after storing variables Lat / Long in EEPROM I set them to zero before reading back to check what was being returned. Simulation debugger displayed as expected. When switch A0 is active the Lat is displayed at position 0/1 of your display. When switch A1 is activ...