EmbeddedRelated.com
The 2024 Embedded Online Conference

I2C and PCF8574 - ShiftOut

Started by andrewflys in BasicX22 years ago

Hi all, I had seen some earlier emails saying that folks had successfully migrated Pete A's i2c routines to use shiftout...

Hi all, I had seen some earlier emails saying that folks had successfully migrated Pete A's i2c routines to use shiftout instead of putpin in a loop. I substituted it for the existing code and had little luck... eg: Public Sub I2C_WorksFine (ByVal


Slowing Down ShiftIn/ShiftOut Clock Speed

Started by Andy Michalicek in BasicX21 years ago 3 replies

I am talking to a I2c device that is extremely slow (~20 khz). Is there a way to slow down the clock used in the ShiftIn/ShiftOut...

I am talking to a I2c device that is extremely slow (~20 khz). Is there a way to slow down the clock used in the ShiftIn/ShiftOut commands? Andy


DS1620

Started by bryanwasherein04 in BasicX18 years ago 6 replies

I am having problems trying to interface a temp sensor. Can someone help me out?I know it something in the shiftin/shiftout but I can get a...

I am having problems trying to interface a temp sensor. Can someone help me out?I know it something in the shiftin/shiftout but I can get a clear understanding of the functions and the only code I have found doesnt help with the understanding aspect of it. Public Const High As Byte = 1 Public Const Low As Byte = 0 Public Const PIN_DS162



The 2024 Embedded Online Conference