Skip to content

Raster implementation for atmega328p#28

Open
art103 wants to merge 2 commits intostefanix:masterfrom
art103:raster-atmega328p
Open

Raster implementation for atmega328p#28
art103 wants to merge 2 commits intostefanix:masterfrom
art103:raster-atmega328p

Conversation

@art103
Copy link

@art103 art103 commented Mar 14, 2014

Hi Stefan,
This is a blind port of the raster code from my Cortex-M4 fork.
I've re-written it to take incremental block updates (up to 70 pixels per gcode line) so that the memory overhead is reduced.
This is completely untested - I have just made it compile and link within the memory footprint limits (2K RAM is not very much!).
I've added my eclipse project and linker script for reference.

There are also one or two cosmetic changes, and a couple of bug fixes that I needed:

  • read float, which was interpreting G0X10Y10 as hexadecimal G"0x10"Y10
  • a rounding bug when calculating adjusted_rate that caused the MCU to crash and laser stay on!

Cheers,
Richard.

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.

1 participant