Custom driving with TV Remote | EdPy Programming | Forum

Please consider registering

Log In Register

Register | Lost password?
Advanced Search

— Forum Scope —

— Match —

— Forum Options —

Minimum search word length is 3 characters - maximum search word length is 84 characters

Custom driving with TV Remote
April 20, 2020
10:40 pm
New Member
Forum Posts: 1
Member Since:
April 20, 2020
sp_UserOfflineSmall Offline


I’ve been trying to create a program that drives with the TV remote, however there is one persistent issue:
When a button is held down on the TV remote the motor will only turn for the time set by the delay.
Could you please provide a code sample where the motor will turn continuously when the TV remote button is held down, then stop when the TV remote button is released.

Thanks, Owen

April 24, 2020
10:53 am
Adrian Herber
Forum Posts: 22
Member Since:
September 2, 2019
sp_UserOfflineSmall Offline

Hi Owen,

Yes, I understand what you are looking for, and why!

Edison can drive continuously with a remote control, but it is programmed in a slightly different way than you have been trying. Edison can’t respond to the button being held down on the remote. But what it can do is drive continuously in response to a button press, until it receives the next button press telling to do something else. Here is some example code showing this concept 

I hope this makes sense for you and lets you achieve what you are hoping for!

  • Keep up with Edison

    Sign up for our newsletter to get all things Edison delivered straight to your inbox.

  • This field is for validation purposes and should be left unchanged.

Heads up

The Australian Federal Parliament has passed a law that extends goods and services tax (GST) to low value imports of physical goods imported by consumers from 1 July 2018.

This means that all customers purchasing Edison robots and accessories with an Australian shipping address must now pay GST. The GST will be automatically added to your purchase and show as a line item on your invoice.

We've detected that you are in Australia, so we wanted to let you know that we have changed your settings to view our Australian site, which displays GST inclusive pricing.

You can change back to the GLOBAL SITE at any time using the link in the top left of the page.

OK got it!    Take me to the GLOBAL SITE instead


Pin It on Pinterest

Share This