| ??? 01/02/03 16:36 Read: times |
#35421 - RE: To:Rob |
Hi Raja
Didi you not study the code in the post above on 12-30-02 10:22 .. I re-wrote the code for your control string in your format ,passing all 8 bits as required by the max186 the code was --------------------------------------- for(index = 0; index < 8; index++) // Send 8 bits to the adc { ADC_DIN = ((output_data & 0x80) ? 1 : 0); output_data=output_data << 1; // Shift the byte by one bit ADC_CLK = HIGH; // Clock the data into the adc adc_delay(); ADC_CLK = LOW; } -------------------------------------------- it sends 8 bits msb first |
| Topic | Author | Date |
| serial adc | 01/01/70 00:00 | |
| RE: serial adc | 01/01/70 00:00 | |
| RE: serial adc | 01/01/70 00:00 | |
| To:Rob | 01/01/70 00:00 | |
| RE: To:Rob | 01/01/70 00:00 | |
| RE: To:Rob | 01/01/70 00:00 | |
| RE: To:Rob | 01/01/70 00:00 | |
| RE: To:Rob | 01/01/70 00:00 | |
| RE: To:Rob | 01/01/70 00:00 | |
| hi rob | 01/01/70 00:00 | |
| RE: hi rob | 01/01/70 00:00 | |
| RE: hi rob | 01/01/70 00:00 | |
RE: hi rob | 01/01/70 00:00 |



