I was a Keil user. With the projects I'm dealing with are getting bigger, the free trial version of Keil with 32K byte limit no longer a choice for me. My teacher even encourage us to use a pirate version of Keil. I'm a fan of opensource and VS Code. Microsoft does a great job on optimization and F1 command is so convinient. But there are still lots of steps to do for debugging in VS Code, I choosed STM32CubeIDE, which is based on ECLIPSE and intergrated with stm32Cube. This note is written with STM32CubeIDE Version: 1.4.0 STM32CubeMX Bug list USB device descriptor request failed: Adjust PLL parameters in clock configuration tab. Try different parameters that still outputs 48MHz to USB peripheral. USB device DFU class: USBD_DFU_MEDIA Interface, aka FLASH_DESC_STR, longest size is 127 chars. Doesn't go any further even you change any parameter found in CubeMX. Include a header file correctly
3/6/2022交易方式: 匯款後寄出,真的沒辦法匯款可以私訊討論 運費: 60;買鍵盤+一樣其他東西或是鍵盤以外的東西買三樣,免運 除了鍵盤用原廠盒裝,其他基本上都會夾鏈袋+廢紙包裝寄出 要買或是有問題可以facebook留言、私訊我 (點我私訊) 鍵盤 以下鍵盤功能皆正常、皆附原廠盒 平常使用習慣良好,不使用會蓋保護蓋 RK87 白軸 藍芽雙模
12/4/2021There are a bunch of tutorials showing how to pack your .py code to an executable(such as .exe in windows). However, most of them just show one or two command packing the executable in the simplest way. In this note, I will also show you the basic, the simplest way to pack your executable and I will also show you how to deal with the annoying import errors. I believe that PyPi page of pyinstaller helps alot. Install pyinstaller If you have pip installed: pip install pyinstaller If pip is not available in your enviroment, then you can download the archive and unzip it. Excute following with administration access:
9/14/2021Hence I can not understand well the usage from the official document, here is the note for pymodbus. This note is written with pymodbus==2.3.0. You can also visit the github page for more information. It's okay that you don't have a modbus slave device, such as PLC. You can use a simlation software as an modbus slave, see modbus: Simulation Tools. To install the library: pip install pymodbus Modbus Simple Introduction Modbus point type Note that the table below shows the maximum range defined by modbus official spec. However, in most applications, PDU addresses are no bigger then 1000, and the absolute addresses are denoted as 00001, 10001, 30001 and 40001.
4/25/2021or
By clicking below, you agree to our terms of service.
New to HackMD? Sign up