This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # Derive from Nordic's image, SDK version 2.5 | |
| FROM nordicplayground/nrfconnect-sdk:v2.5-branch | |
| # Update the distro | |
| RUN apt-get -y update | |
| # Install git and GDB | |
| RUN apt-get -y install git gdb-multiarch | |
| # Create the workspace folder | |
| RUN mkdir /workdir/workspace |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /************************************************************* | |
| ************* nRF24 Cheerson CX-10 Tx Code ****************** | |
| ************* (Green & Blue boards) ****************** | |
| ************************************************************** | |
| by goebish on RCgroups.com | |
| Thanks to: | |
| PhracturedBlue, victzh, hexfet, closedsink, midelic, Hasi ... |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| function connect_callback(conn) | |
| conn:send("NICK esp8266_hacklab\r\n") | |
| conn:send("USER esp8266_hacklab 8 * :Heeelloooo\r\n") | |
| conn:send("JOIN #lugola\r\n") | |
| conn:send("PRIVMSG #lugola :здраво свет\r\n") | |
| end | |
| function receive_callback(conn, payload) | |
| print(payload) | |
| if string.find(payload, "PING :") == 1 then |