Changeset 10244 for firmware/FSC
- Timestamp:
- 03/17/11 08:36:19 (14 years ago)
- Location:
- firmware/FSC/src
- Files:
-
- 6 added
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
firmware/FSC/src/FSC.c
r10236 r10244 118 118 adc_channels_ready[V_BITMAP + I_BITMAP + H_BITMAP -1]=0; 119 119 120 static U08 welcome[]="\n\nwelcome to FACT FSC commandline interface v0. 2\nready?";120 static U08 welcome[]="\n\nwelcome to FACT FSC commandline interface v0.4\nDN 17.03.2011\nready?"; 121 121 usart_write_str(welcome); 122 122 … … 895 895 for (U08 i=0; i< V_BITMAP + I_BITMAP + H_BITMAP;++i) { 896 896 usart_write_U08_bin(adc_enables[i]); 897 usart_write_char(' '); 897 898 } 898 899 usart_write_char('\n'); 899 900 for (U08 i=0; i< V_BITMAP + I_BITMAP + H_BITMAP;++i){ 900 901 usart_write_U08_bin(adc_channels_ready[i]); 902 usart_write_char(' '); 901 903 } 902 904 usart_write_char('\n'); … … 905 907 for (U08 i=0; i< CHANNEL_BITMAP;++i) { 906 908 usart_write_U08_bin(ad7719_enables[i]); 907 //usart_write_char('\t');909 usart_write_char(' '); 908 910 } 909 911 usart_write_char('\n'); 910 912 for (U08 i=0; i< CHANNEL_BITMAP;++i){ 911 913 usart_write_U08_bin(ad7719_channels_ready[i]); 912 //usart_write_char('\t');914 usart_write_char(' '); 913 915 } 914 916 usart_write_char('\n'); … … 995 997 if (ad7719_enables[i/8] & (1<<i%8)) 996 998 { 997 value = (6.25 * ad7719_values[i]) / ((U32)1 << 25);999 value = (6.25 * 1.024 * ad7719_values[i]) / ((U32)1 << 25); 998 1000 usart_write_float(value, 3,6); 1001 //usart_write_U32(ad7719_values[i],8); 999 1002 //usart_write_U32_hex(data); //data 1000 usart_write_str((pU08)" 1003 usart_write_str((pU08)" "); 1001 1004 } else { 1002 usart_write_str((pU08)" 1005 usart_write_str((pU08)" "); 1003 1006 } 1004 1007 //usart_write_char('\n');
Note:
See TracChangeset
for help on using the changeset viewer.