My MateDealer project was entirely written in C because the Arduino IDE or more detailed the HardwareSerial part lacks the 9-bit support. It is easy to send a 8 bit data frame, but nearly impossible to do that with 9 bit frames. I worked for a while on implementing 9-bit support for the Arduino IDE and recently i finished my work!
I’ve tried to generate the locales on my Raspberry Pi, but i ran into a problem that i was not able to solve for a few hours.
1 2 3 4 5
locale gave me another error
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
But finally i found the solution in an inconsiderable forum post. The reason for the locale-gen error is simply not enough RAM!
The solution is easy, just create a swapfile:
1 2 3 4
locale-gen again and it works :–)
I’ve worked with the Java based Arduino IDE for a long time now, and always thought that i miss the comfort of vim. But for soom reason i never searched for an alternative, but yesterday i had enough of that shit piece of software!
Because i’ve got a lot of emails during the last year with several questions about my MDB projects, i try to answer them here.
Making web uploads less painfull
For one of my current Flask projects i want to have a nice looking and easy to use file upload form.
That means no
<input type="file"> form field where i have to select each file and the upload it on at a time.
I came across this nice tutorial for a HTML5/jquery file uploader, but the backend is written in PHP.
So I decided to try to get this working with Flask and it was easier as I supposed :–)
I finally activated the Disqus comment system for my blog. I wanted to do this for a while now but was to lazy to do it :–)
I do a few webprojects with Flask and I love it!
While creating a template i searched for a way to call functions from within the template, and found out that i can use a
I have built a PCB drill that works nice most of the time, but sometimes it occurs that the stepper motor don’t perform a full turn.