摘要: 1、在PCB空白处右击,选择Snap Grid->Grid Properties 或者Ctr+G 2、在弹出的对话框中把Coarse选项卡选择为 Do Not Draw 取消栅格显示前如下: 取消栅格显示后如下: 阅读全文
posted @ 2020-07-17 14:13 阿坦 阅读(8895) 评论(0) 推荐(0)
摘要: 源码下载地址:https://github.com/lizhiqiang0204/WPF-SocketCommunication 运行效果如下: 如果想让客户端Client作为单片机下位机的话,请参考此博文:https://www.cnblogs.com/lizhiqiang0204/p/12808 阅读全文
posted @ 2020-05-12 16:52 阿坦 阅读(197) 评论(0) 推荐(0)
摘要: 源码下载地址:https://github.com/lizhiqiang0204/STM32Hal_W5500_TCPClient.git 单片机用的是STM32F103VE,W5500模块是淘宝买的,本例程是移植野火的代码:http://products.embedfire.com/zh_CN/l 阅读全文
posted @ 2020-04-30 14:37 阿坦 阅读(1617) 评论(0) 推荐(0)
摘要: 右击工程->Properties,弹出对话框,点击Add 在接下来的对话框点击Workspace 然后找到自己新建头文件夹,点OK, 在头文件路径中就会增加一条新路径 阅读全文
posted @ 2020-04-29 10:30 阿坦 阅读(8363) 评论(0) 推荐(0)
摘要: 1、在启动操作系统之前osKernelStart()引用osDelay()延时函数触发硬件错误 2、没有勾选Systenm tick timer 两个Handler选项导致osDelay()延时函数一直死循环。参考https://www.cnblogs.com/lizhiqiang0204/p/12 阅读全文
posted @ 2020-04-28 11:16 阿坦 阅读(3894) 评论(0) 推荐(0)
摘要: 程序集整体框架如下: 其中XmlReader类如下: using System; using System.Collections.Generic; using System.Text; using System.Xml; namespace WpfApp4 { public class XmlRe 阅读全文
posted @ 2020-04-26 14:55 阿坦 阅读(3081) 评论(0) 推荐(1)
摘要: 程序集整体框架如下 MainWindow前台代码中Text="{Binding Stu.Name}", Text="{Binding Stu.Gender}" ,Text="{Binding Stu.Age}"都是绑定到类成员 <Window x:Class="WpfApp1.MainWindow" 阅读全文
posted @ 2020-04-26 09:52 阿坦 阅读(2870) 评论(0) 推荐(0)
摘要: 在上一篇文章中https://www.cnblogs.com/lizhiqiang0204/p/12367553.html我们使用按键Button来切换界面的,这次我们使用自定义的ItemsControl数据模板来切换页面。MainWindow.xaml如下 <Window.DataContext> 阅读全文
posted @ 2020-04-02 10:22 阿坦 阅读(3303) 评论(0) 推荐(1)
摘要: 源码下载地址:https://github.com/lizhiqiang0204/Static-and-non-static-property-changes 程序集整体结构如下 MainWindow.xaml布局如下 <Grid> <Grid.RowDefinitions> <RowDefinit 阅读全文
posted @ 2020-03-12 14:42 阿坦 阅读(1416) 评论(0) 推荐(0)
摘要: 原因在于没有勾选Systenm tick timer 两个Handler选项 阅读全文
posted @ 2020-03-03 11:16 阿坦 阅读(6940) 评论(2) 推荐(0)