Posts List

Deploy a pelican project on Ubuntu/Debian development environment

I just switched the template of this blog site, changed the url, made the changes on url of, will online a whole new home page, so that this blog will be only a part of the new site system. As a note, I put how to setup pelican here, after 2 years using this static blog system, I still think it is one of the best option. To setup the pelican project,

Binary format of the negative number for serial device programming

When I happens to program for a step motor controller, I found it uses positive/negative number formatted in 4 bytes to represent the rotating step number with the direction. In the manual it says the the device checks if the highest bit is 1, then the 4 bytes value represent a 31 bits available negative direction step number. However this is really about the signed number representations rather than check the highest bit.