Anyone want an old 9" tablet?


Author Message
Tinine
Guru

Joined: 30/03/2016
Location: United Kingdom
Posts: 1646
Posted: 03:52pm 30 Dec 2022      

Good excuse to test RFO BASIC. It's to Android what MMBasic is to the Pico.

BT or not, WiFi is just as easy to use  


Start here


Craig

Tinine
Guru

Joined: 30/03/2016
Location: United Kingdom
Posts: 1646
Posted: 03:56pm 30 Dec 2022      

Lots of extras...

Tinine
Guru

Joined: 30/03/2016
Location: United Kingdom
Posts: 1646
Posted: 04:08pm 30 Dec 2022      

Plenty of sample code

JohnS
Guru

Joined: 18/11/2011
Location: United Kingdom
Posts: 4365
Posted: 05:07pm 30 Dec 2022      

  Tinine said  Good excuse to test RFO BASIC. It's to Android what MMBasic is to the Pico.

BT or not, WiFi is just as easy to use  


Start here


Craig

Not if it refuses to go to web sites!

John

Tinine
Guru

Joined: 30/03/2016
Location: United Kingdom
Posts: 1646
Posted: 05:25pm 30 Dec 2022      

Oh I meant for device to MCU comms.

Just download whatever to a PC and transfer via USB.


This virtual PWM is pretty cool for education



Craig
Edited 2022-12-31 03:25 by Tinine

TassyJim

Guru

Joined: 07/08/2011
Location: Australia
Posts: 6570
Posted: 07:30pm 30 Dec 2022      

If it is complaining about expired security certificates, it should be happy talking to a local network bog-standard home-made http (not https) website.

I also would give RFO Basic a look. If the latest versions don't run on android 4.2, I should have a copy that does on one of my old phones.
RFO Basic will talk to a ESPxx and through that, any 'mite connected.

Jim

Tinine
Guru

Joined: 30/03/2016
Location: United Kingdom
Posts: 1646
Posted: 07:58pm 30 Dec 2022      

Hey Jim, thanks for the ever improving MMEdit  

RFO dev is ongoing. It's open source and has a few spinoffs.

I'm using the original version on Android 12.

This thing is very slick and I have just switched away from the the compiler that is B4A.

B4A is great for heavy computation but it's event driven and I am satisfied that I don't like this...there is always a perceptible delay when interacting with the touchscreen. For user interface stuff, RFO responds instantly.

The one drawback (not for me), used to be that a "compiled" RFO app is merely a bundle. Add a ".zip" to the ".apk" and all source can be revealed.

Of course the user would have to somehow know that it's an RFO creation to realise this.

However, the APK compiler from mougino (link in previous post), actually encrypts the source and resources...works beautifully  

This is compiling directly on the Android device  

The resultant apk is just like any other app and can be uploaded to Google Play.

MMBasic is our secret MCU weapon; The Richard Feynman Observatory Basic is our secret weapon for Android apps.  

Craig

JohnS
Guru

Joined: 18/11/2011
Location: United Kingdom
Posts: 4365
Posted: 10:50pm 30 Dec 2022      

  Tinine said  This virtual PWM is pretty cool for education

Craig

What is it? I see files with no explanation :(

John

robert.rozee
Guru

Joined: 31/12/2012
Location: New Zealand
Posts: 2542
Posted: 02:32am 31 Dec 2022      

or... it could be used as a digital picture frame perhaps?

if no on else steps forward and it is destined for the bin, i'll provide the old tablet with a comfortable retirement.


cheers,
rob   :-)

Grogster

Admin Group

Joined: 31/12/2012
Location: New Zealand
Posts: 10008
Posted: 03:51am 31 Dec 2022      

OK, Rob, it's yours.

I already have a photo-frame thing(dedicated).
I think you have my email address - flick me an email and we can take it from there.

Tinine
Guru

Joined: 30/03/2016
Location: United Kingdom
Posts: 1646
Posted: 10:29am 31 Dec 2022      

  JohnS said  
  Tinine said  This virtual PWM is pretty cool for education

Craig

What is it? I see files with no explanation :(

John


It's a graphical animation showing a variable PWM waveform with sliders for frequency and duty cycle. A depiction of an LED reacts to the sliders and the current/voltage varies accordingly.

All in those few lines of code.

If viewing the link on an Android device, tapping on the file with the ".apk" extension will install the compiled program.

So cool to be able to rapidly create apps that simply get the job done.

Craig
Edited 2022-12-31 20:30 by Tinine