mutantbob
mutantbob
I would like to use my Teensy4 to generate keypresses and mouse clicks. The C API is discussed at https://www.pjrc.com/teensy/usb_keyboard.html but I can not find an example in in the...
When using `bindgen` to generate `bindings.rs` for Arduino libraries, we can not rely on the standard `ctypes_prefix()`. The most common replacement is `cty`, but cty fails to compile on the...
I have a project with an Arduino Uno, an ethernet shield (v1), and an OV5642 SPI/I2C. There are actually 3 SPI peripherals in this setup, because the ethernet shield includes...
This is a modified version of https://github.com/Rahix/avr-hal/pull/259 . Based on feedback from Rahix, it includes the `avr-portable/` crate, but only the `arduino-uno` and `arduino-mega2560` examples are modified to show calling...
extract the serial port example into a portable function that demonstrates how to declare the serial port using generics such that it will compile on multiple targets. I think folks...
There is a bug in LLVM regarding MOVW being translated into a pair of 8-bit register moves which could malfunction if the register pairs overlapped. This was discovered while troubleshooting...
While the focus of this template is mostly providing the AVR scaffolding, I feel that the main.rs could benefit from a couple of more examples of how to create objects...
This bug report has an example repo to aid in reproduction of the problem: https://github.com/mutantbob/bindgen-malfunction It does not seem to malfunction when generating in the native environment, but instead malfunctions...
I am experimenting with the `rosimagesrc`. I am playing a bag file that someone else recorded. I am using the pipeline ``` gst-launch-1.0 rosimagesrc ros-topic=/cam0/image_raw ! videoconvert ! x264enc !...
I have a bag containing test data that we want to route through gstreamer. There are two camera streams and an IMU stream. I wrote a very short python script...