I’ve just ported the mirf / RF24 library from Arduino for nRF24L01 transceiver to the electric imp…
I’ve implemented most of the basic functions/features and will be adding more functions and features to be compatible with the RF24 as most of my other devices, Arduino, Raspberry Pi and attiny85 were running/compatible with RF24 library…
Would appreciate if anyone could help to test the codes, suggest improvement/performance optimization to the codes as I have not implemented much OOP coding…
This is my second coding for the electric imp after the first hello world blink program, so I’m still not sure on how to do a loop with the sleep/wake timer…
How do I have InputPort send a string of characters into the buffers ?? I still do not understand the concept of the Input/Output port after reading the example codes a few times…
From the code below, I want to have InputPort (from planner) copy the strings into the buffers array… so that my transceivers can sent it out via SPI…
`
buffers <- [48,49,50,51,52];
class impeeIn extends InputPort {
name = “RF24In”;
type = “number”;