so did my latest suggested code work and identify the address??
check your SDA & SCL pin assignments
Gary
Search found 414 matches
- Thu Apr 13, 2023 9:20 pm
- Forum: SPI and I2C
- Topic: Simple example of I2c code " My World" request
- Replies: 48
- Views: 16722
- Thu Apr 13, 2023 1:00 am
- Forum: SPI and I2C
- Topic: Simple example of I2c code " My World" request
- Replies: 48
- Views: 16722
Re: Simple example of I2c code " My World" request
Okay, got a system scanning and displaying the address of an RTC on I2C here is the code - took out the cruft that was in it::: ' i2c device present per AB example in helpfile ' 'SUB I2CIN ( DATApin, CLKpin, addr, OUTcnt, BYREF shortMessage as string, INcnt, BYREF INlist as string) ' 'FUNCTION I2COU...
- Wed Apr 12, 2023 9:07 pm
- Forum: SPI and I2C
- Topic: Simple example of I2c code " My World" request
- Replies: 48
- Views: 16722
Re: Simple example of I2c code " My World" request
Yo',
I think I have an Adafruit I2C display,
I'll dig out my SP and see what happens.
Be a day or two....
Gary
OOPs - it is an SPI device
I think I have an Adafruit I2C display,
I'll dig out my SP and see what happens.
Be a day or two....
Gary
OOPs - it is an SPI device
- Wed Apr 12, 2023 12:46 am
- Forum: SPI and I2C
- Topic: Simple example of I2c code " My World" request
- Replies: 48
- Views: 16722
Re: Simple example of I2c code " My World" request
Okay, the data sheet indicates that P0.10 & P0.11 are not open drain pins pg 8 of the DataSheet, - may need to select another pair. The GPIO section does mention that most pins can be configured for 'open-drain'; so I assume those can't be 'opened' - maybe need a different pair. ' since you are usin...
- Mon Apr 10, 2023 8:38 pm
- Forum: SPI and I2C
- Topic: Simple example of I2c code " My World" request
- Replies: 48
- Views: 16722
Re: Simple example of I2c code " My World" request
Hi, Have you been able to run a scan detection for the I2C address routine? It normally scans all legal addresses, and then spits out some kind of address list/display? ' I am currently looking for one. Gary Olzeke51 here is some code for scanning devices , I had it working on a different board than...
- Tue Dec 27, 2022 9:47 pm
- Forum: Software issues
- Topic: Linux TclTerm baud rate
- Replies: 3
- Views: 2042
Re: Linux TclTerm baud rate
Thank you,
I looked through the TT.tcl script but didn't see much about 'baud' in it.
Gary
I looked through the TT.tcl script but didn't see much about 'baud' in it.
Gary
- Mon Dec 19, 2022 3:09 pm
- Forum: Software issues
- Topic: Linux TclTerm baud rate
- Replies: 3
- Views: 2042
Linux TclTerm baud rate
Hello Basicchip - (the 'windoz' guy') Gary here (a real Linux user). . Using TclTerm.tcl on Linux - it is simple to use, I enjoy it. The Windows version will allow me to change the baud rate, BUT not the Linux version. Some of my boards use a lower speed UART. . Could the pull down for Baud Rate be ...
- Sat Dec 17, 2022 2:27 pm
- Forum: Projects
- Topic: Man Cave Accessory
- Replies: 2
- Views: 2707
Re: Man Cave Accessory
more info: This is for the NEC codes that the IRRemote transmits. The Arduino Library has coding/timing for the other brands. The use of Interrupt timing was garnered/modified from the Arduino code . I used the falling edge of the signal from the detector to create an Interrupt. The ISR (Interrupt S...
- Sat Dec 17, 2022 1:51 pm
- Forum: Projects
- Topic: Man Cave Accessory
- Replies: 2
- Views: 2707
Re: Man Cave Accessory
this is the basic setup [schematic]
Pin assignments are upto you or in the program to be posted later.
CAUTION: A0 needs to be input from a 3.3v device as noted in the drawing.
'
be sure to isolate all of the pins[used] on the dimmer so the original dimmer circuitry
does not interfere
Pin assignments are upto you or in the program to be posted later.
CAUTION: A0 needs to be input from a 3.3v device as noted in the drawing.
'
be sure to isolate all of the pins[used] on the dimmer so the original dimmer circuitry
does not interfere
- Fri Dec 16, 2022 7:37 pm
- Forum: Projects
- Topic: Man Cave Accessory
- Replies: 2
- Views: 2707
Man Cave Accessory
Man Cave Accessory : IR remote volume control Impetus: needed to change the PC volume from my Submarine-motif rack [across the cave]. edit:: BTW when switching from IR to the knob/pot - give the IR one more command - it is in a loop and won't see the changed switch Components: IRremote kit - ProtoSu...