Page 593 - 완) I MDP 프로젝트 작품 보고서(전체과 1학년)1.6
P. 593

android:layout_weight="2"

                       />

                 <Button android:id="@+id/button_scan"


                       android:layout_width="match_parent"

                       android:layout_height="wrap_content"

                       android:text="@string/button_scan"

                       />

            </LinearLayout>


            device_name

            <?xml  version="1.0"  encoding="utf-8"?>

            <TextView  xmlns:android="http://schemas.android.com/apk/res/android"

                 android:layout_width="match_parent"

                 android:layout_height="wrap_content"


                 android:textSize="18sp"

                 android:padding="5dp"      />




            avr  소프트웨어  부분




            #include  <mega128.h>
            #include  <delay.h>
            unsigned int data;
            void  main()
            {           DDRA  =  0xff;
                        DDRC  =  0xff;
                        UCSR0A  =  0x00;
                        UCSR0B  =  0x90;
                        UCSR0C  =  0x06;
                        UBRR0H  =  0;
                        UBRR0L  =  103;
                        SREG  =  0x80;





                                                         -  586  -
   588   589   590   591   592   593   594   595   596   597   598