[Grbl_Esp32 PR#565] Implemented first version of Pin class. DO NOT PULL!

未分类 bolang 4个月前 (10-14) 38次浏览

Issue #565 | 状态: 已关闭 | 作者: atlaste | 创建时间: 2020-08-21


!! DO NOT PULL !!

This is just a first version, as a WIP. What this is:

– An implementation of the Pin class, and everything needed to make that work.
– Mapping in the code to the Pin class.
– Made everything compile again.

What is missing and needs input from the team:

– PWM is now not implemented correctly / not at all. I currently just map them to native pins.
– Runtime configuration of Pins.
– Initialization does not work properly, because Pins are not runtime configured. This will probably crash the ESP the moment you attempt to run it, because of re-initializations.
– Some defines should disappear along with this. I made an ‘error-pin’ for this, but Assert functionality is currently incorrect. It will crash the ESP (which is good), but leaves the user in the dark…

Marked things with TODO FIXME as they needed more work.


评论 (1)

#1 – atlaste 于 2020-11-09

Obsolete per 649


原始Issue: https://github.com/bdring/Grbl_Esp32/pull/565

喜欢 (0)