Large diffs are not rendered by default.

Binary file not shown.

Large diffs are not rendered by default.

@@ -1,29 +1,27 @@
/*
Editor: http://www.visualmicro.com
visual micro and the arduino ide ignore this code during compilation. this code is automatically maintained by visualmicro, manual changes to this file will be overwritten
the contents of the Visual Micro sketch sub folder can be deleted prior to publishing a project
all non-arduino files created by visual micro and all visual studio project or solution files can be freely deleted and are not required to compile a sketch (do not delete your own code!).
note: debugger breakpoints are stored in '.sln' or '.asln' files, knowledge of last uploaded breakpoints is stored in the upload.vmps.xml file. Both files are required to continue a previous debug session without needing to compile and upload again
visual micro and the arduino ide ignore this code during compilation. this code is automatically maintained by visualmicro, manual changes to this file will be overwritten
the contents of the Visual Micro sketch sub folder can be deleted prior to publishing a project
all non-arduino files created by visual micro and all visual studio project or solution files can be freely deleted and are not required to compile a sketch (do not delete your own code!).
note: debugger breakpoints are stored in '.sln' or '.asln' files, knowledge of last uploaded breakpoints is stored in the upload.vmps.xml file. Both files are required to continue a previous debug session without needing to compile and upload again
Hardware: Arduino/Genuino Micro, Platform=avr, Package=arduino
*/

#if defined(_VMICRO_INTELLISENSE)

#ifndef _VSARDUINO_H_
#define _VSARDUINO_H_
#define __AVR_ATmega32u4__
#define __AVR_ATmega32U4__
#define F_CPU 16000000L
#define ARDUINO 10802
#define ARDUINO 10801
#define ARDUINO_AVR_MICRO
#define ARDUINO_ARCH_AVR
#define USB_VID 0x2341
#define USB_PID 0x8037
#define __cplusplus 201103L
#define __AVR__
#define __inline__
#define __asm__(...)
#define __asm__(x)
#define __extension__
#define __inline__
#define __volatile__
@@ -37,7 +35,7 @@
#define _CONST
#define __builtin_va_start
#define __builtin_va_end
#define __attribute__(...)
#define __attribute__(x)
#define NOINLINE __attribute__((noinline))
#define prog_void
#define PGM_VOID_P int
@@ -50,7 +48,6 @@
#define __builtin_strlen __attribute__((__const__))
#endif


#define NEW_H
typedef void *__builtin_va_list;
//extern "C" void __cxa_pure_virtual() {;}
@@ -64,20 +61,11 @@ typedef void *__builtin_va_list;



#include <Arduino.h>
#include <arduino.h>
#include <pins_arduino.h>
#undef F
#define F(string_literal) ((const PROGMEM char *)(string_literal))
#undef PSTR
#define PSTR(string_literal) ((const PROGMEM char *)(string_literal))


#define pgm_read_byte(address_short) uint8_t()
#define pgm_read_word(address_short) uint16_t()
#define pgm_read_dword(address_short) uint32_t()
#define pgm_read_float(address_short) float()
#define pgm_read_ptr(address_short) short()

#include "phydtc.ino"
#endif
#endif

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

@@ -10,7 +10,7 @@


// 설정에 관한 정의
//#define WAIT_SERIAL_STARTUP
#define WAIT_SERIAL_STARTUP
#define ANDROID_BT_PAIR_TEST 1

// 핀에 관한 정의
@@ -269,18 +269,15 @@ void setup() {
void loop() {
char buf[10];
memset(buf, 0x1111, 2);
memcpy(buf + 2, &b_val, 4);
memcpy(buf + 2, &val, 4);
memcpy(buf + 6, &mov, 4);
for (int i = 0; i < sizeof(buf); i++) BT.write(buf[i]);
val; mov++;
while (Serial.available()) BT.write(Serial.read());
while (BT.available()) Serial.write(BT.read());
delay(1000);
}

uint32_t ltob(uint32_t* v) {
uint8_t* s = (uint8_t *)v;
return s[0] << 8;
}

#else
void loop() {
GY9250.updateData();

Large diffs are not rendered by default.

@@ -1,6 +1,6 @@
1122223333
1: 2����Ʈ, ��� ��� ��ȣ
2: 4����Ʈ, � Ƚ��(ī��Ʈ)
3: 4����Ʈ, �̵� �Ÿ�(����, �����)
2: 4����Ʈ, � Ƚ��(ī��Ʈ), ��Ʋ�����
3: 4����Ʈ, �̵� �Ÿ�(����, �����), ��Ʋ�����

1ȸ ���̷ε�: 10����Ʈ