Grumpy Mike wrote:Thanks for that.
I had come across that thread and it sounded like it was included and they were working on a single unified driver.
Anyway now I know it is not implemented I can stop trying to make it work.
I have an interface board, using a PCF8574 ( 8 I/O ) and a PCF895 ( 4 input A/D + 1 D/A) with a good looking user interface for the RISC desktop ready to go when I can find the I2C calls that work.
I have now tested this on the Raspberry Pi and all seems to work.tank wrote:I2C on the Pi is not yet implemented. See https://www.riscosopen.org/forum/forums/9/topics/1086 and it seems it might be close.
The testing I've done is on the Beagle so far, but it should just work when the above is in the Pi ROM.
If you issue a *GPIOMachine from a command line it reports what type of device you are running on and if any MCP23017 GPIO extenders are fitted.
Should this always be done from within riscos? I copied the ROM image to the SD card from within Windows, renamed it from riscos to riscos.img, the Pi would not boot from this version. Should I have changed the riscosZZ.img as well?Matt Harris wrote:
Within Loader are all the files for booting the Pi - replace the file 'riscos' (or 'riscos/img' - can't remember exactly as I'm doing this from memory) with that from the previously downloaded zip file. (Might be worth copying the original 'riscos' file so that things can be recovered on another machine if a problem occurs).
Colin,colin B wrote: Should this always be done from within riscos? I copied the ROM image to the SD card from within Windows, renamed it from riscos to riscos.img, the Pi would not boot from this version. Should I have changed the riscosZZ.img as well?
I am using the 8th August image.
Code: Select all
C:\Users\[username]> dir F:\ /x
Can anypne point me to refreence materials on SYS"IIC_Control" and SYS"OP_IICOp" ?
They are RISC OS basic programs so the text in quotes will be the same but the code will be tokenised so you will have to use a RISC OS text editor that understands tokenised Basic programs, !Edit, !StrongArm or !Zap are amongst the editors that can view it..but I can only view the text in quotes - the rest is garbled.