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

Another GPIO write #25

Open
proasnet opened this issue Mar 12, 2024 · 0 comments
Open

Another GPIO write #25

proasnet opened this issue Mar 12, 2024 · 0 comments

Comments

@proasnet
Copy link

Operating System

Windows 10

IDE version

1.8.19

Board

Arduino Mega ADK

BSP version

1.8.3

SPIFlash Library version

not found

Sketch

    while ( sd_datalog_file.available())
    {
      char read = (char)sd_datalog_file.read();
      ee.writeByte( ee_pos , read );
      ee_pos ++;
      send_value( F("p29_bar") , (int)(((float)ee_pos / (float)sd_file_size ) * 100 ));
      if ( ee_pos >= i2c_eeprom_size ) break;
    }

What happened ?

In this while loop, reading from card activate and deactivate pin 34. On this pin, I have a relay. I listen clicks of this relay, if I read file.

How to reproduce ?

Read from SD file

Debug Log

No response

Screenshots

No response

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

No branches or pull requests

1 participant