• R/O
  • HTTP
  • SSH
  • HTTPS

scilog: Commit

Overoで動作するデータ収録プログラム
サブCPUからGPS時刻付きADデータを取得してSDに記録する。


Commit MetaInfo

Revisãob2a84e30b0539e51c00c3b275db7c9dfe490a480 (tree)
Hora2015-09-22 17:58:59
AutorNaoya Takamura <ntaka206@user...>
CommiterNaoya Takamura

Mensagem de Log

lcd.c i2clcd_init() i2cLCD基板のConfig変更 LCD自動初期化ON

Mudança Sumário

Diff

--- a/lcd.c
+++ b/lcd.c
@@ -77,8 +77,8 @@ static void i2clcd_init(void)
7777 return;
7878 }
7979 ioctl(fh, I2C_SLAVE, I2CLCD_ADDRESS >> 1);
80-
81- cfg = 0;
80+ // LCD自動初期化ON
81+ cfg = 1;
8282 data[0] = I2CLCD_CFG_ENABLE | (cfg & 0x1f);
8383 data[1] = 0;
8484 write(fh, data, 2);
--- a/scilog.c
+++ b/scilog.c
@@ -1,3 +1,16 @@
1+/*
2+ * scilog.c
3+ * sciLogger Logger Program
4+ * NT System Design
5+ *
6+ * Ver1.0.1
7+ * conf_linux_time_set_XXX() add?
8+ *
9+ * Ver1.0.2
10+ * 2015/09/22
11+ * lcd.c i2clcd_init() i2cLCD基板のConfig変更 LCD自動初期化ON
12+ *
13+ */
114 #include <stdio.h>
215 #include <string.h>
316 #include <time.h>
@@ -39,7 +52,7 @@
3952 // ダミーデータを自分で発生するときに定義
4053 //#define DUMMY
4154
42-#define VERSION "1.0.1"
55+#define VERSION "1.0.2"
4356
4457 #define DEV_SPI "/dev/spike-ad"
4558
@@ -47,7 +60,7 @@
4760 */
4861 #define CONF_FREQ_DEF 50
4962 #define CONF_GAIN_DEF SPI_CMD_GAIN_1P4
50-#define CONF_LINUX_TIME_SET_DEF 1 // OFF
63+#define CONF_LINUX_TIME_SET_DEF 1 // ON
5164
5265 //
5366 /**** signal ***********************************************************
Show on old repository browser