Search Results
|
Post |
Author |
Forum |
Replies |
Views |
Posted
[asc]
|
|
|
Thread: KEY input....
Post: RE: KEY input....
(Feb-20-2023, 12:37 AM)ATARI_LIVE Wrote: (Feb-19-2023, 02:04 PM)Larz60+ Wrote: Please show your code so far (please use bbcode tags)
Difficult to advise otherwise.
import keyboard
loopstop=1
whi... |
|
ATARI_LIVE |
General Coding Help |
5 |
1,201 |
Feb-20-2023, 01:25 AM |
|
|
Thread: KEY input....
Post: RE: KEY input....
(Feb-19-2023, 02:04 PM)Larz60+ Wrote: Please show your code so far (please use bbcode tags)
Difficult to advise otherwise.
import keyboard
loopstop=1
while loopstop:
keypress = keyboard.read_k... |
|
ATARI_LIVE |
General Coding Help |
5 |
1,201 |
Feb-20-2023, 12:37 AM |
|
|
Thread: KEY input....
Post: RE: KEY input....
|
ATARI_LIVE |
General Coding Help |
5 |
1,201 |
Feb-20-2023, 12:34 AM |
|
|
Thread: KEY input....
Post: RE: KEY input....
|
ATARI_LIVE |
General Coding Help |
5 |
1,201 |
Feb-19-2023, 02:28 PM |
|
|
Thread: KEY input....
Post: KEY input....
I am doing code to read a key is pressed.
The KEYBOARD module is works but it will read keys even I use another window-box which I do not want.
I looked up online and seem off my points, they talk a... |
|
ATARI_LIVE |
General Coding Help |
5 |
1,201 |
Feb-19-2023, 01:47 PM |
|
|
Thread: MicroPython Reference
Post: RE: MicroPython Reference
Sorry link did not work...
here the LINK |
|
ATARI_LIVE |
News and Discussions |
1 |
1,510 |
Jan-29-2021, 08:22 AM |
|
|
Thread: MicroPython Reference
Post: MicroPython Reference
Here I found another reference:
https://www.accessengineeringlibrary.com...erence.pdf
Enjoy |
|
ATARI_LIVE |
News and Discussions |
1 |
1,510 |
Jan-28-2021, 09:02 AM |
|
|
Thread: TCP Communicate...
Post: RE: TCP Communicate...
|
ATARI_LIVE |
Networking |
3 |
2,884 |
Dec-15-2020, 08:50 AM |
|
|
Thread: TCP Communicate...
Post: RE: TCP Communicate...
I think I fixed, line 11 on client: s.send(bytes('HELLO WORLD', 'UTF-8')) got it worked. |
|
ATARI_LIVE |
Networking |
3 |
2,884 |
Dec-11-2020, 11:53 AM |
|
|
Thread: TCP Communicate...
Post: TCP Communicate...
I want to test to see if works, here what I am trying and did not work, why? Byte?
Here for CLIENT:
import socket
TCP_IP = '127.0.0.1'
TCP_PORT = 5005
BUFFER_SIZE = 1024
s = socket.socket(socket.... |
|
ATARI_LIVE |
Networking |
3 |
2,884 |
Dec-11-2020, 09:17 AM |
|
|
Thread: Double click on touch screen issue
Post: RE: Double click on touch screen issue
I got it, I did it and what I found:
# Double Click detect without the same of the coordinates.
from tkinter import *
counting = 0
press_is_pressed = 0
got_pressed = 0
double_pressed = 0
window = T... |
|
ATARI_LIVE |
General Coding Help |
4 |
2,238 |
Nov-13-2020, 11:05 AM |
|
|
Thread: Double click on touch screen issue
Post: RE: Double click on touch screen issue
Maybe my touchscreen is piece of junk. |
|
ATARI_LIVE |
General Coding Help |
4 |
2,238 |
Nov-13-2020, 09:59 AM |
|
|
Thread: Double click on touch screen issue
Post: RE: Double click on touch screen issue
Thanks, yeah, I was kind of p... off with the touch screen when I press and hold on the touchscreen and the cursor shakes moving like 2-5 pixels round. so when I am trying to double click on the touch... |
|
ATARI_LIVE |
General Coding Help |
4 |
2,238 |
Nov-13-2020, 09:57 AM |
|
|
Thread: Double click on touch screen issue
Post: Double click on touch screen issue
When I use bind(<Double-Button-1>, run_function) on the TOUCHSCREEN.
the mouse does works but not touchscreen due fat-fingers.
The double click MUST be same mouse's coordinates.
is there othe... |
|
ATARI_LIVE |
General Coding Help |
4 |
2,238 |
Nov-12-2020, 10:36 AM |
|
|
Thread: Start my program in RPI4B from SSH and Failed
Post: RE: Start my program in RPI4B from SSH and Failed
I found from other forum.
use DISPLAY=:0.0 python3 myprogram1.py
it's worked!
Thank you for your helps. |
|
ATARI_LIVE |
General Coding Help |
3 |
3,526 |
Nov-11-2020, 11:19 AM |
|
|
Thread: Start my program in RPI4B from SSH and Failed
Post: RE: Start my program in RPI4B from SSH and Failed
I mean I just want to launch the program to the RPI4B itself.
For example:
- I open the PuTTY with SSH and connected with the RPI4B.
- I type python3 myprogram1.py
- the RPI4B to launch the myprogram... |
|
ATARI_LIVE |
General Coding Help |
3 |
3,526 |
Nov-11-2020, 11:12 AM |
|
|
Thread: Start my program in RPI4B from SSH and Failed
Post: Start my program in RPI4B from SSH and Failed
I have a python program and executed (python3 myprogram1.py) from the terminal in the RPI4B works perfectly.
I wanted to run on RPI4B without the keyboard and mouse and not want use an VNC.
But when... |
|
ATARI_LIVE |
General Coding Help |
3 |
3,526 |
Nov-11-2020, 09:59 AM |
|
|
Thread: POKE & PEEK...
Post: RE: POKE & PEEK...
I do not use serial at all, I made the board was long time ago, I use a MCU chip which it has address and data bus into the PCI-E. the MCU has 256 I/O for external.
I had a Pascal [ input and output c... |
|
ATARI_LIVE |
General Coding Help |
3 |
2,667 |
Nov-03-2020, 01:02 PM |
|
|
Thread: POKE & PEEK...
Post: RE: POKE & PEEK...
because I have my own homemade I/O card. I need to write the data by the address 0x0F829.
like poke 0x0F829, 255
so need do in the python (how?) |
|
ATARI_LIVE |
General Coding Help |
3 |
2,667 |
Oct-29-2020, 08:42 AM |
|
|
Thread: POKE & PEEK...
Post: POKE & PEEK...
In the basic language use POKE and PEEK. what do in python? |
|
ATARI_LIVE |
General Coding Help |
3 |
2,667 |
Oct-29-2020, 08:26 AM |