converting from c to nodejs controller
keep RF24 lib there for now