Dynamic C

My forum
SX15-Evo, output da FLEX-ANALOG
UDP e costate
SX15-Evo, uscita x alimentazioni altri cicuiti
sx15-evo per leggere un segnale di corrente
Modalità di input per la FLEX-ANALOG
Info CIE-H10, programmare dispositivi Sollae

 

Setting up the environment (9.21)

Install your FTDI usb->serial converter



default value of COM15 didn't work, returning error:

Couldn't open serial port

I changed to COM1 and then it works



From Dynamic C project properties:
- Max Debug baud rate
- Disable baud negotiation unset usb->serial box


String usage

String

#GLOBAL_INIT
Actions are performed only once among many calls. Use with caution.

int receive_packet(void) {
  static char buf[128];
  #GLOBAL_INIT {
    memset(buf, 0, sizeof(buf));
  }
}