ZX-24a reading RPM information . . .

Discussion specific to the 24-pin ZX microcontrollers, e.g. ZX-24r, ZX-24s and ZX-24t.
dkinzer
Site Admin
Posts: 3120
Joined: 03 September 2005, 13:53 PM
Location: Portland, OR

Re: Continues , troubles with posting ...

Post by dkinzer »

kurakaira wrote:Should i also change the ShiftOut to the 74595 to bit banging ?
Note that you can use ShiftOutEx() to shift out up to 16 bits in one call. Also, ShiftOutEx() has more options for speed control, including the ability to shift at high speed (~2.2uS per bit). For 16-bit data, this would take about 35uS while 8-bit data would take about 17uS. If these interrupt disable times are too large, you can implement a bit-banged shift out function that would take longer overall but would not have interrupts disabled for any significant time.
- Don Kinzer
Post Reply