Timeline for Binary Manipulation in arduino with 74HC595
Current License: CC BY-SA 4.0
14 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Feb 21, 2020 at 1:26 | vote | accept | Carlo | ||
Feb 19, 2020 at 16:09 | answer | added | CrossRoads | timeline score: 0 | |
Feb 19, 2020 at 15:50 | answer | added | Cheche Romo | timeline score: 1 | |
Feb 19, 2020 at 15:29 | answer | added | Carlo | timeline score: 1 | |
Feb 19, 2020 at 12:47 | comment | added | Oldfart | As I said: shift out the pattern in 8 bits, each bit requires you to set the output value followed by a high/low of the clock. After 8 bits give a load command. | |
Feb 19, 2020 at 11:42 | comment | added | Carlo | @Oldfart I was just playing around with the 74HC595. Anyway how would you do this? thanks | |
Feb 19, 2020 at 11:38 | history | edited | Carlo | CC BY-SA 4.0 |
added 1016 characters in body
|
Feb 17, 2020 at 0:50 | comment | added | Oldfart | You will have to show how you connected the 595 to the Arduino. Note that the pattern you are showing can not be achieved by simple shifting alone. You will need some sort of shift-load sequence. (It is much simpler to make the pattern without the 595...) | |
Feb 16, 2020 at 23:59 | comment | added | jsotola |
10000001 = 128 + 1 .... 01000010 = 64 + 2 .... 00100100 = 32 + 4 .... etc .... all you need is one for loop
|
|
Feb 16, 2020 at 23:00 | review | Close votes | |||
Mar 7, 2020 at 3:05 | |||||
Feb 16, 2020 at 22:44 | comment | added | Marcus Müller | I'm voting to close this question as off-topic because general programming questions are off-topic here, but could be asked on stackoverflow.com. This particular problem however boils down to knowing the basic operators in C/C++, so really nothing that you need help with more than reading an intro to either of these languages. | |
Feb 16, 2020 at 22:43 | comment | added | Marcus Müller |
There's the bitshift operators << and >> and the bitwise OR | . All that you need. Also, off-topic here:
|
|
Feb 16, 2020 at 22:35 | review | First posts | |||
Feb 17, 2020 at 6:04 | |||||
Feb 16, 2020 at 22:34 | history | asked | Carlo | CC BY-SA 4.0 |