Skip to content

Commit

Permalink
Update README
Browse files Browse the repository at this point in the history
Signed-off-by: Martin Ribelotta <martinribelotta@gmail.com>
  • Loading branch information
martinribelotta committed Dec 12, 2015
1 parent cfecd16 commit f1d3f1d
Show file tree
Hide file tree
Showing 6 changed files with 75 additions and 164 deletions.
7 changes: 7 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,13 @@ This is the IDE for micropython on EDU-CIAA.
- PySerial
- PyTE

#### Requeriment instalation
```bash
pip install pyside pyqode.python pyserial pyte
```

Replace pip by pip3 or command of your distribution.

### Characteristics

- Syntax higlight
Expand Down
Binary file modified doc/screenshoot1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified doc/terminal.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified doc/toolbar.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
207 changes: 56 additions & 151 deletions doc/toolbar.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
25 changes: 12 additions & 13 deletions share/uPyIDE/snipplet/Main_ExtInt.py
Original file line number Diff line number Diff line change
@@ -1,25 +1,24 @@
# Description ADC Test
import pyb


def callBack(line):
print("Pin Interrupt!")
print("Line = ",line)
print("Pin Interrupt!")
print("Line =", line)

p = pyb.Pin(0)
p.init(pyb.Pin.OUT_PP,pyb.Pin.PULL_NONE)
p.init(pyb.Pin.OUT_PP, pyb.Pin.PULL_NONE)
print(p)
int = pyb.ExtInt(p,pyb.ExtInt.IRQ_RISING,pyb.Pin.PULL_NONE,callBack)
print(int)
intr = pyb.ExtInt(p, pyb.ExtInt.IRQ_RISING, pyb.Pin.PULL_NONE, callBack)
print(intr)

int.disable()
int.enable()
intr.disable()
intr.enable()

switch1 = pyb.Switch(1)

while True:
pyb.delay(1000)
print("tick")
if switch1.switch():
int.swint()


pyb.delay(1000)
print("tick")
if switch1.switch():
int.swint()

0 comments on commit f1d3f1d

Please sign in to comment.