Bug in C sample code edit

Fixed a bug in the sample code. While checking the bit value, we were always using the MSB mask (0x80), instead we should be using the bitMask8 array with the correct index. -mandeep --202.54.176.51 (talk) 11:38, 9 June 2009 (UTC)Reply

Oops! Missed the fact that we're shifting the bits towards the left, at the bottom of the loop! Reverted the change. Sorry, may bad! :) --Mandeepsandhu (talk) 11:54, 9 June 2009 (UTC)Reply




I merged bit banging to here. One thing I left off that was in the other article was the mention of example serial busses that are often bit-banged (Serial UART, PS/2, I²C). Somebody can add these back in if they want, though my feeling is that, since bit-banging can sometimes be considered to include things like CGA or NTSC video output, that the number of possible examples is extremely large, and so it's best to not list all of them. --Interiot 18:56, 6 December 2005 (UTC)Reply

suggested grammar improvement edit

or when the microcontroller do something else

to

or when the microcontroller does something else

—Preceding unsigned comment added by Dnordon (talkcontribs) 09:47, 29 June 2006

done. --Interiot 09:54, 29 June 2006 (UTC)Reply

suggested external link edit

Maybe the following thesis might be of interest to this article:

http://stud3.tuwien.ac.at/~e9725348/Theses/

213.143.126.4 07:29, 28 August 2006 (UTC)Reply

A most excellent link, thanks for pointing it out! --Interiot 08:19, 28 August 2006 (UTC)Reply

timing not shown in example edit

Code example does not show any timing delays between bits

Bit banging seems to apply to more than serial communication. edit

The article states that bit banging is used for serial communication. But the technique seems to apply to parallel communication as well. Anyone any thoughts on that? 82.72.139.164 (talk) 00:11, 3 September 2018 (UTC)Reply

It can be used to emulating numerous hardware protocols, serial, parallel, other signaling methods. It's more typical for emulating serial protocols because many older microcontrollers didn't have built-in hardware peripherals for those serial protocols. • SbmeirowTalk • 00:54, 3 September 2018 (UTC)Reply