摘要: The testing code for LX COG 12864R1. You can search the product in T-A-O-B-A-O. #define CS 2 #define RST 3 #define DC 4 #define SCL 21 #define SDA 20 阅读全文
posted @ 2021-02-10 23:56 igame2000 阅读(167) 评论(0) 推荐(0) 编辑
摘要: An old article about Marilin auto bed leveling. Brief Most 3D printers come with uneven printing bed. That is the mainly reason of printing failure an 阅读全文
posted @ 2021-02-10 23:51 igame2000 阅读(96) 评论(0) 推荐(0) 编辑
摘要: Very old techinique written couple years ago. Marlin Firmware Localization For Chinese Simplification Long time ago, I tweeted Marlin firmware (@Marli 阅读全文
posted @ 2021-02-10 23:48 igame2000 阅读(114) 评论(0) 推荐(0) 编辑
摘要: STM32: Using External SRAM This article is about the external SRAM of STM32. With FSMC, STM32 MCUs can access external SRAM. Hopefully, this idea look 阅读全文
posted @ 2021-02-10 23:40 igame2000 阅读(693) 评论(0) 推荐(0) 编辑
摘要: Introduction An implementation of Fixed Point algorithm for STM32 or any other MCUs which have no FPU support. For You Information Original Idea When 阅读全文
posted @ 2021-02-10 23:30 igame2000 阅读(177) 评论(0) 推荐(0) 编辑
摘要: EAGLE ULP For JLC PCB SMT BOM & POS Recently, I was using shenzhen JLC PCB Inc.(深圳嘉立创) online PCB manufacturing service. They provides swift and very 阅读全文
posted @ 2021-02-10 23:27 igame2000 阅读(142) 评论(0) 推荐(0) 编辑
摘要: Intrinsics,SIMD,再加上OpenMP 这次很简单,只需在循环上加上OpenMP的指示: cpp paragm omp parallel for for(int h = 0; h 阅读全文
posted @ 2019-10-10 14:34 igame2000 阅读(119) 评论(0) 推荐(0) 编辑
摘要: 使用Intrinsics方法,实现SIMD处理 使用Intrinsics,可以利用硬件的SIMD指令进行处理。MMX,SSE,SSE2(AMD已经通过交叉授权取得该技术)看起来真有那么美好么?让我们拭目以待。在处理中同样使用了定点数技术。 使用SIMD,一次过处理4个像素,貌似很快的说,但各种扩展操 阅读全文
posted @ 2019-10-10 14:33 igame2000 阅读(135) 评论(0) 推荐(0) 编辑
摘要: 传统方法+OpenMP 使用OpenMP对传统方法进行优化。感谢OpenMP,实现多线程优化方便多了!多核时代,OpenMP将成为我们的利器! 使用OpenMP这个利器,即使使用默认设定,也能得到比非OMP方法快17% 23%的结果。看来,多核时代OpenMP必将大行其道! 阅读全文
posted @ 2019-10-10 14:33 igame2000 阅读(99) 评论(0) 推荐(0) 编辑
摘要: 传统处理方法 传统处理方法纯粹基于C++,通过指针操作进行处理。通常的优化是使用定点数来代替浮点数,这里使用的方法为: 比值=(颜色分量值 65535) / 255 转换成位移操作: 比值=(颜色分量值 8 进行一步简化: 比值=颜色分量值 16; (ptr + 1) = ((int) (ptr + 阅读全文
posted @ 2019-10-10 14:32 igame2000 阅读(116) 评论(0) 推荐(0) 编辑