spirilis 1,265 Posted May 20, 2013 Author Share Posted May 20, 2013 I collapsed LM4Bits.h into Enrf24.h and included the new #include's for the platform. Can you guys verify this works--it builds just fine for me with board set to Stellaris LaunchPad: Enrf24_v1_5.zip Changes: Version promoted to v1.5 #include's for Stellaris LaunchPad BITx defines for Stellaris LaunchPad Enrf24_ChannelScan example modified to use while(1); to halt CPU instead of LPM4 since that isn't available on Stellaris LaunchPad. AStelTXdemo example included. The original Enrf24_* examples only need the pin names changed in the constructor up above to work. (Haven't actually tested these myself on the Stellaris LP though) Past changes not included in the prior zip file in this thread: Subsequent hits to .available(1) will return TRUE until data is actually read. Normally .available(1) (only reports data available if RX IRQ present) will report false after the first hit b/c the IRQ is cleared behind the scenes. .write() auto-sends only when you try to send a 33rd byte into the buffer A .lastTXfailed variable exposed to the user so they can test if the last write() or flush() performed failed (only available with AutoACK, and only at 1Mbps & 2Mbps) OzGrant, Pradeepa and reaper7 3 Quote Link to post Share on other sites
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.