• How to stop program running on board

    repl sync
    4
    0 Votes
    4 Posts
    2k Views
    A
    @robert-hh @crumble Thanks - problem solved.
  • Bluetooth services is not started

    bluetooth services lopy not started
    15
    0 Votes
    15 Posts
    3k Views
    S
    @jmahesh Hi, I tried it too and it's working. Thank You!
  • This topic is deleted!

    1
    0 Votes
    1 Posts
    1 Views
    No one has replied
  • 0 Votes
    7 Posts
    2k Views
    philwilkinsonP
    OK now works! I changed the device address in the global settings to the correct Com port and rebooted Atom and it picked it up fine. Thanks again, @seb, rather strange this has only just started to happen!
  • Atom Pymakr Serialport.node

    pymakr atom
    35
    1 Votes
    35 Posts
    16k Views
    R
    @simonjcarr Try the latest code on the develop branch, that should solve the issue: https://github.com/pycom/pymakr-atom/tree/develop
  • Pymakr with Atom 1.19.2

    atom pymakr node.js serialport.node
    7
    0 Votes
    7 Posts
    3k Views
    R
    For who wants to try, there is a fix for this issue on the develop branch now. See my last comment in https://github.com/pycom/pymakr-atom/issues/1#issuecomment-324798001
  • VS Code Pymakr on Mac Problem/Bug

    vs code pymakr macos bugs
    1
    1
    1 Votes
    1 Posts
    1k Views
    No one has replied
  • How to sync to /flash and not /sd?

    pymakr
    2
    0 Votes
    2 Posts
    1k Views
    R
    Hi @rolandvs, thanks for reporting this. Atom is not really aware of the /flash or /sd directories, but uploads the code to where the REPL is running from. It could be that inserting the SD card makes the repl start from the /sd folder. I don't really have a solution to it right now, but I'll look in to it together with embedded.
  • Pymakr - specify telnet port

    pymakr atom
    2
    0 Votes
    2 Posts
    1k Views
    B
    Hi @lebucur, Not currently, however, this feature will arrive at a later date! Thanks, Alex
  • Pymakr USB connection

    pymakr
    8
    0 Votes
    8 Posts
    4k Views
    R
    Good to hear this is solved. For your information: we're planning a new feature soon that auto detects the available comports for you. That should solve these confusions in the future.
  • Error - Could not enter friendly repl

    12
    0 Votes
    12 Posts
    4k Views
    J
    @soren lpss-serial2 is definitely not the Pycom device, it's an internal device part of the 2016 MacBook Pros, so your Mac isn't really picking up the Expansion board Have you tried restarting you Mac before connecting? Sometimes there are USB issues where the port seems to go "deaf" to new devices. Also recommend you try a different microUSB cable just in case I guarantee the LoPy works on a Mac - thats what I use - you just need to fix whatever issue is causing it not to see the expansion board
  • EXPORT CODE FROM ARDUINO TO PYMAKR

    sipy pymakr micropython
    5
    0 Votes
    5 Posts
    3k Views
    C
    Take a look to an arduino like wrapper for pycom at https://github.com/dinosd/pyCom/blob/master/examples/arduino_sample.py import arduino estado = 0 estado2 = 0 cont = 0 A = 10 B = 11 C = 12 D = 13 E = 14 def setup(): arduino.pinMode(15, "ANALOG_INPUT") #PIN P15, there is no mode analog input in arduino but pycom needs it arduino.pinMode(8, "INPUT") # modes are "INPUT","OUTPUT","INPUT_PULLUP","INPUT_PULLDOWN","ANALOG_INPUT" arduino.pinMode(7, "INPUT") arduino.pinMode(A, "OUTPUT") arduino.pinMode(B, "OUTPUT") arduino.pinMode(C, "OUTPUT") arduino.pinMode(D, "OUTPUT") arduino.pinMode(E, "OUTPUT") def loop(): global estado, estado2, cont value = arduino.analogRead(13) millivolts = 1100 * value / 1.1 #max volts for analog in is 1.1V db = millivolts / 10 print(db, "DB") estado2 = arduino.digitalRead(8) if estado2: #this means high or you can write if estado2==1 estado = arduino.digitalRead(7) if estado: arduino.delay(500) cont += 1 if cont==1: arduino.digitalWrite(A, 1) arduino.digitalWrite(B, 1) arduino.digitalWrite(C, 1) arduino.digitalWrite(D, 1) arduino.digitalWrite(E, 1) setup() while True: loop()
  • Pymark sync project failed

    Moved
    17
    0 Votes
    17 Posts
    7k Views
    P
    I found a partial solution to this problem. The console always showed me: "Syncing the project with the LoPy. Please wait... Syncing failed!" when I tried to load the Python scripts ino the LoPy. The solution I found was using a FTP to load the files. Section 2.4 from this page shows you how to configure the FTP settings to be able to do so: https://docs.pycom.io/pycom_esp32/pycom_esp32/toolsandfeatures.html I used FileZila client and worked perfectly. Make sure you connect to the LoPy WiFi to load the files with the FTP. "Connect your computer to the WiFi network named after your board (e.g. lopy-wlan-xxxx, wipy-wlan-xxxx). The password is www.pycom.io" I could not make it work through the Pymakr but at least in this way I was able to load everything into the LoPy with no problems.
  • Losing connection with the WiPy

    wipy 1 pymakr
    7
    0 Votes
    7 Posts
    2k Views
    M
    I've updated the firmware but it did not help
  • Starting PyMakr

    Moved pymakr
    4
    0 Votes
    4 Posts
    2k Views
    J
    @mmarkvoort Thanks for the help. I never knew about C:\ProgramData\Microsoft\Windows\Start Menu\Programs I found the entry and copied it to the desktop. It works fine. It never appeared in the visible start menu, but then Windows has a certain "whimsical" aspect to it operation :) joe
  • Pymakr Status

    2
    0 Votes
    2 Posts
    1k Views
    B
    @mo-seph Hi! We're actually retiring Pymakr and will be replacing it with a series of plugin for various text editors (Atom, Sublime, PyCharm, etc.). You can have a read about it here https://forum.pycom.io/topic/635/pymakr-time-of-death-09-02/19!
  • Breakpoints and step

    breakpoint step
    1
    0 Votes
    1 Posts
    906 Views
    No one has replied
  • Loading programs onto SiPy [SOLVED]

    pymakr
    2
    0 Votes
    2 Posts
    1k Views
    S
    Ok I've realised that to sync I need to press the reset button on the board before clicking sync. But why is the question....
  • Pymkr and loading programs onto SiPy [SOLVED]

    sipy
    5
    0 Votes
    5 Posts
    2k Views
    S
    Ok I've realised that to sync I need to press the reset button on the board before clicking sync. But why is the question...
  • Project vs Package?

    2
    0 Votes
    2 Posts
    983 Views
    G
    Project is in a folder and it is containing the init file. So a project is a package.

Pycom on Twitter