User Tools

Site Tools


en:recomendations

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Last revision Both sides next revision
en:recomendations [2018/01/25 17:41]
ashley
en:recomendations [2018/03/09 00:47]
eliseev
Line 8: Line 8:
 The query functions return an error code in case something went wrong. The code in the following form\\ ​ The query functions return an error code in case something went wrong. The code in the following form\\ ​
  
 +<code c>
   if (LSS_OK == transmitter_turn_on(1)) ​   if (LSS_OK == transmitter_turn_on(1)) ​
   {    { 
Line 16: Line 17:
     printf("​Error! Failed to turn on transmitter \n"​); ​     printf("​Error! Failed to turn on transmitter \n"​); ​
   }    } 
 +</​code>​
  
 will help you to more quickly identify errors in the program than the code in the form below:​\\ ​ will help you to more quickly identify errors in the program than the code in the form below:​\\ ​
  
 +<code c>
   transmitter_turn_on(1)   transmitter_turn_on(1)
 +</​code>​
  
 **3 Allow the devices to load.**\\ **3 Allow the devices to load.**\\
 After powering on the device with the xxx_power_on () command, the devices require time for loading. In addition, after they load, they cannot respond to the first message sent to them. If you want to turn on the device and start working with it, wait for the device to load (no more than 1 sec) and prepare it for receiving messages either by sending the bus_setup () command to the bus or by sending any message to this or another device. After powering on the device with the xxx_power_on () command, the devices require time for loading. In addition, after they load, they cannot respond to the first message sent to them. If you want to turn on the device and start working with it, wait for the device to load (no more than 1 sec) and prepare it for receiving messages either by sending the bus_setup () command to the bus or by sending any message to this or another device.
en/recomendations.txt · Last modified: 2018/10/10 16:51 by golikov