hi, I wanted to use code I used for arduino for wireless transmission for RF433mHz module
with VirtualWire and DataCoder library, I've put those library files in attachment,
there is also two example files (RFDataRxn433Mhz.ino, RFDataTxn433Mhz.ino) for transmission and receiving data,
I used DataCoder library because it is written to use easily float numbers,
it is working with arduino very well, but when I try to use this with teensy I've got wrong numbers on the
receiving side (not sure, maybe transmission side is also affected),
I used teensy3.2 on the transmission side and tendyLC on the receiving side,
code is complied, I can upload it to both boards but not getting right numbers at serial monitor,
I even try to use arduino to receive the data when sending them by teensy3.2 (also wrong numbers)
and sending data by uno and receiving them by tensyLC but without success.
I really appreciate help in this case, I need to send float numbers by this module, "char example" from teensy web is working,
I checked but for my purposed I need code to send float data.
Not sure is better to modify DataCoder library or there is some possibility to use VirtualWire code from teensy web, after some
modifications and then send float numbers?
with VirtualWire and DataCoder library, I've put those library files in attachment,
there is also two example files (RFDataRxn433Mhz.ino, RFDataTxn433Mhz.ino) for transmission and receiving data,
I used DataCoder library because it is written to use easily float numbers,
it is working with arduino very well, but when I try to use this with teensy I've got wrong numbers on the
receiving side (not sure, maybe transmission side is also affected),
I used teensy3.2 on the transmission side and tendyLC on the receiving side,
code is complied, I can upload it to both boards but not getting right numbers at serial monitor,
I even try to use arduino to receive the data when sending them by teensy3.2 (also wrong numbers)
and sending data by uno and receiving them by tensyLC but without success.
I really appreciate help in this case, I need to send float numbers by this module, "char example" from teensy web is working,
I checked but for my purposed I need code to send float data.
Not sure is better to modify DataCoder library or there is some possibility to use VirtualWire code from teensy web, after some
modifications and then send float numbers?
Attachments
Last edited: