Pages: 1 [2]   Go Down
Author Topic: How to simplify this easy function  (Read 1030 times)
0 Members and 1 Guest are viewing this topic.
Global Moderator
UK
Offline Offline
Brattain Member
*****
Karma: 310
Posts: 26626
I don't think you connected the grounds, Dave.
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Code:
//do not touch
#define numOfRegisterPins number_of_74hc595s * 8
You really should touch it :
Code:
//do not touch
#define numOfRegisterPins (number_of_74hc595s * 8)
   smiley-cool
Logged

"Pete, it's a fool looks for logic in the chambers of the human heart." Ulysses Everett McGill.
Do not send technical questions via personal messaging - they will be ignored.

Offline Offline
Jr. Member
**
Karma: 0
Posts: 86
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Code:
//do not touch
#define numOfRegisterPins number_of_74hc595s * 8
You really should touch it :
Code:
//do not touch
#define numOfRegisterPins (number_of_74hc595s * 8)
   smiley-cool

I didn't use it smiley i work with 1 chip smiley so its 8 from the start for me. thanks anyway !
Logged

Pages: 1 [2]   Go Up
Jump to: