MSP
Arduino MSP (MultiWii Serial Protocol) library
Install / Use
npx skills add fdivitto/MSPInstalls into whichever agent you are using.
README
Arduino library for MSP (MultiWii Serial Protocol)
This is a simple library to send requests, commands or just wait messages from a MultiWii compatible flight controller (cleanflight, betaflight, etc...), specifically designed to work better with INAV.
MSP library can be attached to any serial port (hardware or software).
Not all MSP messages and commands are implemented. However new messages can be simply added.
Example to get RC channels:
MSP msp;
void setup()
{
Serial.begin(115200);
msp.begin(Serial);
}
void loop()
{
msp_rc_t rc;
if (msp.request(MSP_RC, &rc, sizeof(rc))) {
uint16_t roll = rc.channelValue[0];
uint16_t pitch = rc.channelValue[1];
uint16_t yaw = rc.channelValue[2];
uint16_t throttle = rc.channelValue[3];
}
}
Related Skills
node-connect
385.6kDiagnose OpenClaw Android, iOS, or macOS node pairing, QR/setup code, route, auth, and connection failures.
blender-python-addon
40.5kBlender Python add-on rules for operators, panels, properties, registration, testing, and API-safe scripting
flutter-development-guidelines-cursorrules-prompt-file
40.5kCursor rules for Flutter development with MVVM architecture, Riverpod state management, Material widgets, and Dart style guidelines.
commit-push-pr
140.7kCommit, push, and open a PR
