RF Serial Module

#include "mbed.h"

Serial pc(USBTX,USBRX);

Serial device(p9,p10) //Tx and Rx

int main(){

printf("Please Enter Data Stream");

while(1){

if (pc.readable()){

device.putc(pc.getc());

}

}


0 comments

You need to log in to post a comment