How should I modify these code to send sensor reading to another Arduino? Answered
Idea is to make a weather station using two Arduinos. They would communicate using RF transmitter and receiver. I tried to use VirtualWire library and its examples (named transmitter and receiver). I can send and print characters but I can't do the same with number(positive and negative). It's going to send temperature (both positive and negative) and barometer readings.
In my opinion I should send them in an array (int).
How can make this work? Is there a better option for wireless communication?