Score: 199
Uploads: 5
Downloads: 1
Create time: 2017-07-15 02:53:22

Upload log:
eth_lcd_ip_addre_mikroc_pic.rar - ethernet,lcd,ip address - { interface } type TPIDController = record PID_Kp, PID_Ki, PID_Kd: real; PID_Integrated : real; PID_Prev_Input: real; PID_MinOutput, PID_MaxOutput: real; PID_First_Time, PID_Int_Improvement, PID_Diff_Improvement: boolean; PID_Prev_AbsError: real; end; procedure Init_PID(var Controller: TPIDController; Kp, Ki, Kd, MinOutput, MaxOutput: real); // Initialises the PID engine of "Controller" // Kp = the "proportional" error multiplier // Ki = the "integrated value" error multiplier // Kd = the "derivative" error multiplier // MinOutput = the minimal value the output value can have (should be < 0) // MaxOutput = the maximal value the output can have (should be > 0) - This I2C library contains the following functionalities: - master/slave communication - timeout in case of bus failure - self recovery after timeout - possibility to write one of 32 bytes slave registers In the archive you can find the hardware schematic, some photos of the working platform, the required libraries and an working example. In the example the master MCU writes 2 bytes to the slave MCU which then sums them together. Then the MCU read the result and print it on the LCD. In case of I2C failure, either a TIMEOUT or FAILURE message will be printed on the LCD depending of which line was break. The MCU uses for both master and slave was PIC16F887. It use internal clock at 8Mhz so no cristal is required.
LPC1768_TFTLCD3.2_2.8.rar - full program and source for tft
XPT2046.txt.rar - DRIVER for touch driver IC XPT2046

Download log:
GT911.rar - 汇顶触控IC的驱动代码,此代码用于触摸屏的驱动,客户端只要将接口设置对,中断方式设置好,并且主控可以控制触控点个数,将触摸屏的正确配置参数放在主控端就可以正确的触摸,配置信息中包含分辨率,中断方式,触控IC工作的频段。