dbrgn / iboardbot-web

Unofficial cloudless iBoardBot client written in Rust.
Apache License 2.0
7 stars 4 forks source link

Configuring for a larger whiteboard #12

Open phreakeo opened 5 years ago

phreakeo commented 5 years ago

I'd like to use this offline version of the app on a modified, larger version of the iBoardBot. To do this with the app, all I should need to change is the following lines in robot.rs:

pub(crate) const IBB_WIDTH: u16 = 358; pub(crate) const IBB_HEIGHT: u16 = 123;

And these lines in configuration.h within the firmware:

// Robot

define ROBOT_MIN_X 0

define ROBOT_MIN_Y 0

define ROBOT_MAX_X 358

define ROBOT_MAX_Y 123

Does that sound correct? I'm somewhat new to programming and I'm unfamiliar of where else I should look to ensure the proper scaling of svg files sent to the plotter.

dbrgn commented 5 years ago

Hi

I think that should work. Note that this project is quite hacky, so it's possible that other adjustments need to be done :) Let me know if it works.