Guest
#1603158
Hi there, we're new to microprocessor programming and right now we are trying to get an olimex LPC2148 to work with a Sharp Optical Sensor 2y0a02. But it seems we are too dumb to get the A/D changer to work properly. We already tested the sensor and it works correctly. We plugged the sensor to the p0.30 / AD03 pin See the code, laugh at us and please tell us where our mind-barrier lies :)
1 | |
2 | |
3 | |
4 | |
5 | |
6 | |
7 | |
8 | |
9 | |
10 | |
11 | |
12 | |
13 | |
14 | |
15 | |
16 | |
17 | |
18 | |
19 | |
20 | |
21 | |
22 | |
23 | |
24 | |
25 | |
26 | |
27 | |