Proto-App / Proto-Android

Realtime circuit simulator for Android platform.
100 stars 2 forks source link

can someone explain to me how such a java script ic works #243

Closed Jurgen2003 closed 1 year ago

Jurgen2003 commented 1 year ago

can someone explain to me how such a java script ic works i find it a tricky one and can't figure it out

Proto-App commented 1 year ago

Hello @Jurgen2003 Each Script IC has sample code. You can place it on simulation screen and connect for example standard DC source. It should react and drive one of the outputs to high state. Of course you can change code that is responsible by this behavior. Simply tap on component, tap "Settings" button and select "Script" from dialog window. This action will redirect you to code editor.

Jurgen2003 commented 1 year ago

hello @Proto-App thanks for your response i saw it that the javascipt is the control but if you want to change it and program it yourself how does that work don't get anything from it get error messages all the time and it doesn't work is the proto app by the way a language adjustable speak more easily dutch how about that ?

Bushmills commented 1 year ago

(Automatic) translation tends to yield quirkier results which may make the program actually harder to use than English localisation. I'd expect hetzelfde ook voor Nederlands.

Jurgen2003 commented 1 year ago

thanks for the answer but so it is possible to set the language ? if so do you have an idea how and where ? @Bushmills @Proto-App

Proto-App commented 1 year ago

@Jurgen2003 On Android 13 you can change language per each application, please check https://android-developers.googleblog.com/2022/11/per-app-language-preferences-part-1.html

Jurgen2003 commented 1 year ago

@Proto-App proto is not listed there

Proto-App commented 1 year ago

@Jurgen2003 Ok, you are right. PROTO is not prepared for it now.... We will add possibility to change language at least from system setting in next release.

Proto-App commented 1 year ago

@Jurgen2003 Implemented in version 1.21.0