����, 13 ������ 2020 ��. �� 21:21, Rob van Lopik <robvanlopik@gmail.com>:
For now I will concentrate on Firmata. A small Arduino is the cheapest way to add analog input to a Raspberry for example. This capability stuff also brings constraints��with it: when a pin only allows some modes, how do I make sure we don't assign an illegal mode to it? My question is not how to code that, but what is the Smalltalk way to handle it (report error, ignore, ....) bearing in mind that an IoT application in the end��is meant to be used by non-technical people.

Currently it is done for PWM IO mode:

PotGPIO>>bePWMOutput
function enablePWMOutputIn: self

Where only PotPWMFunction really understands #enablePWMOutputIn:. So any pins without pwm function will raise DNU.


Other questions I will reserve for other threads.

rob