Hello, I cannot get any inputs to work.
system: Rpi3B+ MK, I ssh into it and use halrun to test hardware
pi@raspberrypi:~/Downloads/DUPEmk-raspi3bPlus--hal_gpio $ uname -a
Linux raspberrypi 4.4.4-rt9-v7+ #7 SMP PREEMPT RT Mon Mar 7 14:53:11 UTC
2016 armv7l GNU/Linux
outputs seem ok ( not everyone tested yet, but several )
input wiring is classic external pulldown, with inline current limit:
rpin1(3.3V) to spst switch com ,
spst switch n.o. to 10K to rpin39(gnd),
spst n.o. also to 1K to rpin input ( any of 26 pins tested )
real meter on rpi pin shows 0 (inactive) to 3.3V swing(switch closed)
halmeter shows no change while switch is operated
"show pin hal_gpio.*" displays all pins as input but all FALSE in any
switch position, on any of 26 pins
(again every pin can be used as output , i drive leds thru ULN2803a when I
test the outputs , different DIR different EXCLUDE of course)
hal file ( enables ALL pins and cfgs as INPUTS )
-------------------------------------------------
loadrt hal_gpio exclude=0 dir=0
newthread fast 100000
newthread slow 1000000 fp
addf hal_gpio.write fast
start
------------------------------------
halrun session:
#Component Pins:
# Comp Inst Type Dir Value
Name Epsilon Flags linked to:
# 78 bit OUT FALSE
hal_gpio.pin-03-in --l-
# 78 bit OUT FALSE
hal_gpio.pin-05-in --l-
# 78 bit OUT FALSE
hal_gpio.pin-07-in --l-
# 78 bit OUT FALSE
hal_gpio.pin-08-in --l-
# 78 bit OUT FALSE
hal_gpio.pin-10-in --l-
# 78 bit OUT FALSE
hal_gpio.pin-11-in --l-
# 78 bit OUT FALSE
hal_gpio.pin-12-in --l-
# 78 bit OUT FALSE
hal_gpio.pin-13-in --l-
# 78 bit OUT FALSE
hal_gpio.pin-15-in --l-
# 78 bit OUT FALSE
hal_gpio.pin-16-in --l-
# 78 bit OUT FALSE
hal_gpio.pin-18-in --l-
# 78 bit OUT FALSE
hal_gpio.pin-19-in --l-
# 78 bit OUT FALSE
hal_gpio.pin-21-in --l-
# 78 bit OUT FALSE
hal_gpio.pin-22-in --l-
# 78 bit OUT FALSE
hal_gpio.pin-23-in --l-
# 78 bit OUT FALSE
hal_gpio.pin-24-in --l-
# 78 bit OUT FALSE
hal_gpio.pin-26-in --l-
# 78 bit OUT FALSE
hal_gpio.pin-29-in --l-
# 78 bit OUT FALSE
hal_gpio.pin-31-in --l-
# 78 bit OUT FALSE
hal_gpio.pin-32-in --l-
# 78 bit OUT FALSE
hal_gpio.pin-33-in --l-
# 78 bit OUT FALSE
hal_gpio.pin-35-in --l-
# 78 bit OUT FALSE
hal_gpio.pin-36-in --l-
# 78 bit OUT FALSE
hal_gpio.pin-37-in --l-
# 78 bit OUT FALSE
hal_gpio.pin-38-in --l-
# 78 bit OUT FALSE
hal_gpio.pin-40-in --l-
I dont see what I'm doing wrong.
I thought I had the cfg dir and exclude wrong, so i went to dir=0 exclude=0
to avoid that as a problem
what does the "Epsilon --l- " mean?
tomp
--
website: http://www.machinekit.io blog: http://blog.machinekit.io github:
https://github.com/machinekit
---
You received this message because you are subscribed to the Google Groups
"Machinekit" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
Visit this group at https://groups.google.com/group/machinekit.
For more options, visit https://groups.google.com/d/optout.