# Developing a facet digital display want to use mt6835 and simple foc

**URL:** https://community.simplefoc.com/t/developing-a-facet-digital-display-want-to-use-mt6835-and-simple-foc/8159
**Category:** applications
**Created:** [May 27, 2026, 11:04pm UTC](https://community.simplefoc.com/t/developing-a-facet-digital-display-want-to-use-mt6835-and-simple-foc/8159 "2026-05-27T23:04:42Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![TED.WILSON](https://community.simplefoc.com/letter_avatar_proxy/v4/letter/t/839c29/32.png) [@TED.WILSON](https://community.simplefoc.com/u/TED.WILSON)
#### Post date: [May 27, 2026, 11:04pm UTC](https://community.simplefoc.com/t/developing-a-facet-digital-display-want-to-use-mt6835-and-simple-foc/8159/1 "2026-05-27T23:04:42Z")

</div>

I am designing a digital readout for a facet maching that has several functions. i am using am mt6835 encoder, and onloy need to read the angle, do a internal calibration, set the zero point. when i use the simple foc library the code gets to big for the memory. it looks like i can disable some of the foc functions since i am basically limited to the mt6835 encoder. but am not usre how to do it.

---

<div class="post-metadata">

### Author: ![o\_lampe](https://community.simplefoc.com/letter_avatar_proxy/v4/letter/o/85e7bf/32.png) [@o\_lampe](https://community.simplefoc.com/u/o_lampe)
#### Post date: [May 28, 2026, 7:15am UTC](https://community.simplefoc.com/t/developing-a-facet-digital-display-want-to-use-mt6835-and-simple-foc/8159/2 "2026-05-28T07:15:09Z")

</div>

The part of code, where you can cut off some k-bytes is the commander. If you disable it, sFOC will fit in oldschool 8-bit 32kB flash MCUs.  
If you need serial monitoring or want to send serial commands, there are other options. I used to use _SerialComm()_ which was written by a forum member.
