I2C and PCF8574 - ShiftOut

Started by andrewflys in BasicX15 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


ShiftIN and ShiftOUT help

Started by chicoisl in BasicX13 years ago 3 replies

Hello, Is there more information about the ShiftOUT and ShiftIN commands, more then the System_Library.pdf provides? I am trying...

Hello, Is there more information about the ShiftOUT and ShiftIN commands, more then the System_Library.pdf provides? I am trying to use these commands in a similiar fashion to how they are used in the Basic Stamp Language to controll the coprocessor on a TAB Build Your Own


Slowing Down ShiftIn/ShiftOut Clock Speed

Started by Andy Michalicek in BasicX14 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


Slower ShiftOut()?

Started by Don Kinzer in BasicX13 years ago 5 replies

I have an application where I need to shift out some data at a maximum rate of 50KHz (20us clock period). The ShiftOut() routine's ...

I have an application where I need to shift out some data at a maximum rate of 50KHz (20us clock period). The ShiftOut() routine's clock has a period of about 3.5us so I can't use it. I have implemented an alternative shifting routine but it's fairly slow. Even with the loop unro


shift register - simple q

Started by limorgarcia in BasicX14 years ago 3 replies

is it possible to shiftout "nothing" to a shift register? meaning if i have a line of code that is shifting out bytes to several...

is it possible to shiftout "nothing" to a shift register? meaning if i have a line of code that is shifting out bytes to several daizy- chained shift registers, and then i need to shiftout data to only the third shift register in the chain, is it possible without effecti


Sony PS Controller and BX-01: ShiftIn ShiftOut replacement

Started by "money.dollars" in BasicX10 years ago

I am trying to see if I can read the Sony PS2 Controller with the BX- 01, but need to figure out the right way to replace shiftIn and shiftOut....

I am trying to see if I can read the Sony PS2 Controller with the BX- 01, but need to figure out the right way to replace shiftIn and shiftOut. I am working off the code for the BX-24: http://basicx.com/codeexamples/files/SonyPSController.zip I just started working with the BXDS a couple weeks ago, and having fun with it. I got the ligth and temp stuff working with with the BX-01, and i...


Question on ShiftOut

Started by tiger_gk in BasicX14 years ago 4 replies

I have a question on ShiftOut. Does the shift out function remove the bits from the variable that the bits are being shifted out? I...

I have a question on ShiftOut. Does the shift out function remove the bits from the variable that the bits are being shifted out? I have a 5 bit variable. I want to shift out one bit at a time when one of the signals goes HIGH. Would it work if I put it in a do- while loop? What I


ShiftIn/ShiftOut commands.

Started by bobbymcgill2007 in BasicX10 years ago 1 reply

Hi all - I was wondering if someone can help shed some light on the ShiftIn/ShiftOut commands. What I am trying to do is "sniff" a serial data...

Hi all - I was wondering if someone can help shed some light on the ShiftIn/ShiftOut commands. What I am trying to do is "sniff" a serial data stream that has clock and data pulses with a BX24p. The documentation is a little sparse, but from what I can tell, the bits are shifted in on every clock pulse into a byte. So - does that mean that the chip can sense the clock pulses and be able ...


BX-24 with ds1302

Started by neilgrey in BasicX13 years ago 3 replies

Hi folks: I've built a circuit which uses a BS2 connected to a DS1302 RTC. For several reasons i've decided to replace the...

Hi folks: I've built a circuit which uses a BS2 connected to a DS1302 RTC. For several reasons i've decided to replace the BS2 with the BX-24. However when reviewing the docs for the BX-24 I noticed there are some restrictions on the SHIFTIN, SHIFTOUT instructio


BS2 and BSX in a TAB BYORK

Started by chicoisl in BasicX13 years ago 2 replies

Hello, I am working with the TAB BYORK, I have both a BS2 and a BX24. I have programmed the BS2 for use of the IR, CDS and...

Hello, I am working with the TAB BYORK, I have both a BS2 and a BX24. I have programmed the BS2 for use of the IR, CDS and motors through the onboard PIC16C505. I would like to do the same with the BX24. I am currently learning how to use the shiftin and shiftout functions wit


DS1620

Started by bryanwasherein04 in BasicX12 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


Re: SP03 Speech module

Started by "massimo.negrotti" in BasicX11 years ago

--- In b...@yahoogroups.com, "Ron A. Nucci" wrote: > > Hi > > Has anyone written code to talk to the Devantech SP03 using the I2C > ...

--- In b...@yahoogroups.com, "Ron A. Nucci" wrote: > > Hi > > Has anyone written code to talk to the Devantech SP03 using the I2C > interface and the shiftout command ? > > Thanks > RN Dear Ron, I also am looking for a code for programming the SP03 through I2C. Actually I'm successful only in addressing and playing the 30 phrases recorded apart in the module. Did