lunes, abril 23, 2012

Universal libreria para NRF24L01

Hemos publicado una librería en lenguaje C, para los chips nRF24L01, y con ejemplos para varios microcontroladores. El código también es compatible con los chips nRF2401 si se desactivan varias funciones (ShockBurst).

5 comentarios:

alexan_e dijo...

Hi

You should consider adding #ifndef in your header files, it is considered a standard method even if you don't expect the header to be used twice.

Please check http://gcc.gnu.org/onlinedocs/cpp/Once_002dOnly-Headers.html#Once_002dOnly-Headers

Alex

Luis Digital dijo...

I will, thanks.

alexan_e dijo...

I have started using the library with LPC1114 and I'm making some modifications as I go.

I have moved NRF24L01_Receive and NRF24L01_Send from the main code to the library, I think it is easier to use the library if these are already defined.

I also miss a way to set the interrupt mask so I will probably add a function for this.

By the way, nice job!
Alex

Luis Digital dijo...

There are many possible modifications, if you like you can send me your version so that others can download.

Thank you.

pensadorlibre dijo...

Como acceder a la libreria? Disculpen mi ignorancia, gracias...