ultrabeam

This commit is contained in:
2026-01-10 11:01:40 +01:00
parent 5fd81a641d
commit f172678560
11 changed files with 1118 additions and 2 deletions

View File

@@ -89,4 +89,13 @@ export const api = {
rotateCCW: () => request('/rotator/ccw', { method: 'POST' }),
stop: () => request('/rotator/stop', { method: 'POST' }),
},
// Ultrabeam
ultrabeam: {
setFrequency: (frequency, direction) => request('/ultrabeam/frequency', {
method: 'POST',
body: JSON.stringify({ frequency, direction }),
}),
retract: () => request('/ultrabeam/retract', { method: 'POST' }),
},
};