Loading...
Pages: 1 [2]   Go Down
Author Topic: Sampling Three Ultra Sonic Sensors  (Read 468 times)
0 Members and 1 Guest are viewing this topic.
Global Moderator
UK
Offline Offline
Brattain Member
*****
Karma: 138
Posts: 19067
I don't think you connected the grounds, Dave.
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Code:
#if defined(__AVR_ATmega1280__) || defined(__AVR_ATmega2560__)
const static uint8_t A0 = 54;
But, like I said, you don't really need to know the actual value - if you put them into a scalar variable or constant, you can put them into an array of the same type.
« Last Edit: September 01, 2011, 09:25:51 am by AWOL » Logged

Pete, it's a fool looks for logic in the chambers of the human heart.

Pages: 1 [2]   Go Up
Print
 
Jump to: