Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

w25q128_test #28

Closed
wants to merge 1 commit into from
Closed

w25q128_test #28

wants to merge 1 commit into from

Conversation

iori3662
Copy link
Contributor

@iori3662 iori3662 commented Mar 17, 2024

概要

  • w25q128のコード(2024/03/17時点)

背景

-あと記録したいデータを選択して記録を開始するタイミングを指定

@iori3662 iori3662 requested a review from 771-8bit March 17, 2024 06:32
@iori3662 iori3662 self-assigned this Mar 17, 2024

// Wait 60 seconds.
delay(60000L); //時間を適切な時間に修正
}

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[cpplint] reported by reviewdog 🐶
Could not find a newline character at the end of the file. [whitespace/ending_newline] [5]

#include <Adafruit_SPIFlash.h>

#ifndef FLASH_CONFIG_H_
#define FLASH_CONFIG_H_
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

FLASH_CONFIG_H_はインクルードガードってやつなのでこれ関連の行は消してOK
https://www.jpcert.or.jp/sc-rules/c-pre06-c.html

dataFile.print(",");
dataFile.print(reading, DEC); //必要なデータの代入
dataFile.println();
dataFile.close();
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

open,print,closeにかかる時間をそれぞれmicros()使ってマイクロ秒単位で測って欲しい

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants