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

Improved smoothie board parsing & added an isolated test for next issue #92

Merged
merged 3 commits into from
Feb 15, 2025

Conversation

Abse2001
Copy link
Contributor

next issue will be the rotation of components Im working on it.

image

should be rotated.
image

import { getPinNum } from "lib/utils/get-pin-number"

const debug = Debug("dsn-converter:get-pin-details")
export function getPinDetails(nodes: any[]): Pin | null {
Copy link
Contributor

Choose a reason for hiding this comment

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

can you improve the type here? it was originally like AstNode? I feel like one way we can make things more maintanble is improving types or at least preventing type regressions

Copy link
Contributor

@seveibar seveibar left a comment

Choose a reason for hiding this comment

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

see comment

@imrishabh18
Copy link
Member

@Abse2001 Is the rotation not working? Cause I remember that I have routed the arduino which has the rotated chip

@Abse2001 Abse2001 merged commit a19e6bf into tscircuit:main Feb 15, 2025
4 checks passed
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