Skip to content

Added first draft of power management for issue #3#4

Open
BenjaminPelletier wants to merge 5 commits into
masterfrom
feature/power_management
Open

Added first draft of power management for issue #3#4
BenjaminPelletier wants to merge 5 commits into
masterfrom
feature/power_management

Conversation

@BenjaminPelletier
Copy link
Copy Markdown
Contributor

Also removed IP constants duplicated in Marshall.h, changed first-time boot to use enableEthernet() and disableEthernet()

A few notes:

  • I put SPI pin disabling into the generic disableEthernet() method which is called from other places in the code also; please verify this was the appropriate thing to do
  • The timing for when exactly pin 30 is set as an output has been changed to avoid duplicating that code (since pin 30 is set as a LOW OUTPUT regardless of which power mode we're booting into). Please verify this is ok also.

Also removed IP constants duplicated in Marshall.h, changed first-time boot to use enableEthernet() and disableEthernet()
So that Jimmy can test day/night transition, switch every 4 minutes instead of sticking to the sunrise/sunset schedule.
Also added Visual Studio project & solution files
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants