我使用的是 STM32F030F4P6 MCU 和带有 PCF8574T I2C 显示驱动程序的 LCD 2004。我已经尝试过本教程中的库:https://controllerstech。 com/interface-lcd-16x2-with-stm32-without-i2c/。我找到了 PCF8574T 设备的数据表,但其中没有指定命令。我是该领域的新手,但我已经通过 I2C 和 SPI 与其他设备进行通信并让它们工作。有人可以告诉我我做错了什么,或者至少告诉我在哪里可以获取包含设备命令的数据表吗?如果这是一个菜鸟问题,我提前表示抱歉。
I am using a STM32F030F4P6 MCU and a LCD 2004 with PCF8574T I2C display driver. I have tried the library from this tutorial: https://controllerstech.com/interface-lcd-16x2-with-stm32-without-i2c/. I have found a datasheet for the PCF8574T device, but there are no commands specified in there. I am quite new in the field, but I already communicated with other devices over I2C and SPI and got them to work. Can somebody tell me what I am doing wrong, or at least show me where to get a datasheet with commands for the device? I am sorry in advance if this is a noob question.
发布评论
评论(1)
很高兴知道您的设备在调试代码之前还活着。
Nice to know that your device still alive before debug the code.