Search found 5 matches
- Wed Sep 03, 2014 11:31 am
- Forum: IO-Warrior Deutsch
- Topic: AppleScript und 10.9
- Replies: 3
- Views: 7474
Re: AppleScript und 10.9
IOWarriorAppleScriptGateway version 0.1 (0.1) läuft bei mir auf dem System 10.9.4 ohne Probleme!
- Sun Jan 27, 2008 11:46 am
- Forum: IO-Warrior Deutsch
- Topic: I2C (IIC,I^2C) - Bus, PCF8574 (8Bit I/O) und AppleScript
- Replies: 6
- Views: 9204
I2C (IIC,I^2C) - Bus, PCF8574 (8Bit I/O) und AppleScript
Fehler gefunden! Schreiben und Lesen klappen jetzt! Vielen Dank für die Anregung!
tell application "IOWarriorAppleScriptGateway"
set result to IsIOWarriorPresent
if result is equal to false then
display dialog "IOWarrior not present"
return
end if
-- I2C-Bus aktivieren
WriteInterface1 ...
tell application "IOWarriorAppleScriptGateway"
set result to IsIOWarriorPresent
if result is equal to false then
display dialog "IOWarrior not present"
return
end if
-- I2C-Bus aktivieren
WriteInterface1 ...
- Sat Jan 26, 2008 2:45 pm
- Forum: IO-Warrior Deutsch
- Topic: I2C (IIC,I^2C) - Bus, PCF8574 (8Bit I/O) und AppleScript
- Replies: 6
- Views: 9204
I2C (IIC,I^2C) - Bus, PCF8574 (8Bit I/O) und AppleScript
Nachtrag:
WriteInterface1 reportId 3 byte0 1 byte1 64 ergibt keine Fehlermeldung sondern {3,1,-1,0,0,0,0} als Antwort. -1 bedeutet 255 und damit 11111111 im Dualsystem. Alle Pins P0 bis P7 liegen beim IC auf 5V. Die 7Segmentanzeige ist dunkel. Dies ist korrekt.
WriteInterface1 reportId 3 byte0 1 ...
WriteInterface1 reportId 3 byte0 1 byte1 64 ergibt keine Fehlermeldung sondern {3,1,-1,0,0,0,0} als Antwort. -1 bedeutet 255 und damit 11111111 im Dualsystem. Alle Pins P0 bis P7 liegen beim IC auf 5V. Die 7Segmentanzeige ist dunkel. Dies ist korrekt.
WriteInterface1 reportId 3 byte0 1 ...
- Sat Jan 26, 2008 1:47 pm
- Forum: IO-Warrior Deutsch
- Topic: I2C (IIC,I^2C) - Bus, PCF8574 (8Bit I/O) und AppleScript
- Replies: 6
- Views: 9204
I2C (IIC,I^2C) - Bus, PCF8574 (8Bit I/O) und AppleScript
Vielen Dank für die sehr schnelle Rückmeldung! Sie haben völlig recht, dass das IC PCF8574 nicht angesprochen wird. Bei meinen vielen erfolglosen Versuchen hatte ich zum Schluss alle Adressbits auf 1 gesetzt, so dass die Adresse nun 78 lautet und nicht mehr 64, und dieses habe ich dann völlig ...
- Sat Jan 26, 2008 11:13 am
- Forum: IO-Warrior Deutsch
- Topic: I2C (IIC,I^2C) - Bus, PCF8574 (8Bit I/O) und AppleScript
- Replies: 6
- Views: 9204
I2C (IIC,I^2C) - Bus, PCF8574 (8Bit I/O) und AppleScript
Es gelingt mir einfach nicht, das IC PCF8574 (8Bit I/O Fern-Expander für den I2C-Bus) mit Hilfe der I2C Special mode function des IOWarrior40 und AppleScript anzusteuern. Ich erhalte nur folgende Fehlermeldungen: {2,-128,0,0,0,0,0} und {3,-128,0,0,0,0,0}; -128 entspricht 128, d.h. 10000000 im ...