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

Merge the branch serial #1

Closed
lpatiny opened this issue Aug 2, 2020 · 2 comments
Closed

Merge the branch serial #1

lpatiny opened this issue Aug 2, 2020 · 2 comments
Assignees

Comments

@lpatiny
Copy link
Member

lpatiny commented Aug 2, 2020

Try the branch serial and try to refactor the code so that it works.

The goal is to have a menu from the serial monitor.

You may try to get a spectrophotometer in order to play with it and try the code.

We may discuss about some more refactoring of the code but the current idea is to move slowly more and more code from the bioreactor-platformio project to this project (step by step will be easier to debug and improve probably).

@andrescvargasr
Copy link
Contributor

Update: Monitoring and Serial threads work

  1. Change lib/hack/SerialUtilities.cpp:
  2. Change lib/hack/eeprom.cpp:
  3. Install Time.h library.
  4. Change lib/hack/params.h:
  5. Create: Monitoring.h, Serial.h, and StartThreads.h.
  6. Modify: Monitoring.cpp, and StartThreads.h.
  7. Create Serial.cpp into src folder.

Pending:

  1. Refactor hack folder.
  2. Check params.h, hex.h, and SerialUtilities.h files.

Test:

  • Upload code and type 'h' into Serial Terminal.

Testing board:

  • StandardTransducer V2.0 (Lilypad USB compatible board).

@andrescvargasr andrescvargasr pinned this issue Aug 17, 2020
@andrescvargasr
Copy link
Contributor

Update: params, SerialMonitoring, eeprom, toHex (.h and .cpp files) work.

  • Change /hack/params.h to /include/params.h and src/params.cpp.
  • Change /hack/SerialUtilties files to /include/SerialUtilities.h and src/SerialUtilities.cpp.
  • Change /hack/toHex files to /include/toHex.h and src/toHex.cpp.
  • Change /hack/eeprom files to /include/eeprom.h and src/eeprom.cpp.

Pending:

  • Refactor SerialMonitoring, eeprom, and toHex files.

Test:

  • All commands work: Type: h, s, and u into Serial Terminal.

Testing board:

StandardTransducer V2.0 (Lilypad USB compatible board).

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

2 participants