Oct-29-2020, 08:26 AM
In the basic language use POKE and PEEK. what do in python?
POKE & PEEK...
|
Oct-29-2020, 08:26 AM
In the basic language use POKE and PEEK. what do in python?
Oct-29-2020, 08:42 AM
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?)
Oct-29-2020, 06:40 PM
There is no POKE and PEEK( accessing the contents of a specific memory cell referenced by its memory address) in Python.
That said Python is used a lot for(board(Arduino,Raspberry Pi,microcontrollers,..ect) as higher interface with tool that can access the lower level stuff. There is MicroPython that can access many board/microcontrollers,ask on there forum. There is ctypes and CFFI that can interact with almost any C code from Python. Do you have a Serial I/O to the board?, then can also mention pySerial.
Nov-03-2020, 01:02 PM
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 commands ] and QBasic [ inp and out commands ] program with the windows 95 with this board and works as well. that's what I am looking such as inp/out in python if possible. |
|