vedderb / nunchuk_mod Goto Github PK
View Code? Open in Web Editor NEWThe firmware for the mcu of my custom PCB for the wireless nunchuk
The firmware for the mcu of my custom PCB for the wireless nunchuk
With the actual code pairing is doesn't work because the pairing info will be only sent if the nrf is not alive. Changing this line pairing does work properly in my case.
Lines 697 to 698 in 3cb2776
Tried to pair my custom remote with this(your) code and it's works only with NRF_SPEED_250K
speed (vesc-tool and remote)
rfhelp_set_tx_addr(radio_address_pairing, 3);
rfhelp_set_radio_channel(radio_channel_pairing);
uint8_t pl[6];
int32_t index = 0;
pl[index++] = MOTE_PACKET_PAIRING_INFO;
pl[index++] = (uint8_t)radio_address[0];
pl[index++] = (uint8_t)radio_address[1];
pl[index++] = (uint8_t)radio_address[2];
pl[index++] = radio_channel;
rfhelp_power_up();
HAL_Delay(2);
rf_tx_wrapper((char*)pl, index);
rfhelp_set_rx_addr(0, radio_address, 3);
rfhelp_set_tx_addr(radio_address, 3);
rfhelp_set_radio_channel(radio_channel);
HAL_Delay(5);
print_rf_status();
Why is this so?
Hello, Benjamin.
Help wanted :)
I'm starting to work on esk8 remote based on stm32 and nrf24l01. And, maybe, you can point me on actual piece of code for binding nrf24l01p with actual version of vesc-tool?
Hi Benjamin,
can you compile the other hex files too?
I am having issues with cross interference with other 2.4Ghz devices and cannot change RF parameters in Vesc tool, The fields get populated automatically once it gets paired and cannot be changed. The signal is very unreliable. My setup used to work flawlessly before updating ,I have capacitor on the vcc and gnd.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.