View previous topic :: View next topic |
Author |
Message |
ePowered RACING
Joined: 29 Dec 2020 Posts: 4
|
|
Posted: Mon Jan 04, 2021 7:26 am |
|
|
Ok, so it seems the connections are good!
Could anyone suggest about the code? Such as a library to use with this transceiver, any configuration parameter I must useā¦ |
|
|
Ttelmah
Joined: 11 Mar 2010 Posts: 19552
|
|
Posted: Mon Jan 04, 2021 8:01 am |
|
|
The transceiver makes no difference to the code.
However a thing that may, is default types. This is a critical difference between
the '8bit' PIC's, and their larger brethren. The default 'int' changes from being
an 8bit unsigned int, to being a signed 16bit int. Even if you use 'int8' for
example, this becomes signed on the 16bit PIC. Now generally the CCS
code has been rewritten to cope with this, but if for example you have
variables that are handing values to the library, you may be accidentally
passing 'signed' values without realising it.... |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group
|