Skip to content

Fanhuahuang363/hyp 58 sensors board implementation#23

Open
BL-CZY wants to merge 2 commits into
mainfrom
fanhuahuang363/hyp-58-sensors-board-implementation
Open

Fanhuahuang363/hyp 58 sensors board implementation#23
BL-CZY wants to merge 2 commits into
mainfrom
fanhuahuang363/hyp-58-sensors-board-implementation

Conversation

@BL-CZY
Copy link
Copy Markdown
Contributor

@BL-CZY BL-CZY commented Mar 18, 2026

No description provided.

@BL-CZY BL-CZY requested review from H-Allen and catx1 as code owners March 18, 2026 12:38
4 => Ok(Board::TemperatureTester),
5 => Ok(Board::KeyenceTester),
6 => Ok(Board::StateMachineTester),
7 => Ok(Board::Mqtt),
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

You'll need to add the sensors board here too or it'll throw the error below when it tries to convert it

Comment on lines +68 to +76
EVENT_BUS.sender().send(Event::PrechargeStarted).await;

led.set_high();

embassy_time::Timer::after_secs(10).await;

led.set_low();

EVENT_BUS.sender().send(Event::PrechargeComplete).await;
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Is this board only controlling an LED? If so, I don't think this is the right place to send the PrechargeStarted and PrechargeComplete events.

Is there more logic to be added to this block?

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Yeah eventually this will become the high power relays and such

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.

3 participants