Hi cicciocb
Before I purchase this, will annex support it?
Thanks
Zim
Will Annex support this?
Will Annex support this?
You do not have the required permissions to view the files attached to this post.
- Electroguard
- Posts: 890
- Joined: Mon Feb 08, 2021 6:22 pm
- Has thanked: 287 times
- Been thanked: 329 times
Re: Will Annex support this?
Yes...
You do not have the required permissions to view the files attached to this post.
Re: Will Annex support this?
I did see that too, Electroguard. I just wasn't sure if the address was an issue.
Thanks
Zim
Thanks
Zim
Re: Will Annex support this?
I plugged in a display and got nothing using the demo code. Do I have to do anything with these solder points?
Thanks
Zim
Thanks
Zim
You do not have the required permissions to view the files attached to this post.
- Electroguard
- Posts: 890
- Joined: Mon Feb 08, 2021 6:22 pm
- Has thanked: 287 times
- Been thanked: 329 times
Re: Will Annex support this?
The I2C adapter was already installed on mine, Zim, and I didn't do anything to it - I have a couple of them, and neither have any links soldered.
It is I2C, so you can run the I2Cscanner to check it is actually being seen ok, and at what address.
Be aware that I was using the 4 line version, whereas you showed the 2 line version, but I would have thought the I2C interface was the same for both.
Here is a program I developed on a Wokwi Stepper Motor simulation... https://wokwi.com/projects/378289623939972097
which was subsequently copied to actual hardware and worked fine... https://odysee.com/@Electroguard:d/StepperTest:9
It is I2C, so you can run the I2Cscanner to check it is actually being seen ok, and at what address.
Be aware that I was using the 4 line version, whereas you showed the 2 line version, but I would have thought the I2C interface was the same for both.
Here is a program I developed on a Wokwi Stepper Motor simulation... https://wokwi.com/projects/378289623939972097
which was subsequently copied to actual hardware and worked fine... https://odysee.com/@Electroguard:d/StepperTest:9
Re: Will Annex support this?
I found this in my junk box. when I do a I2C scan, it comes up with "found 39 27"
I have no experience with i2C. Should this work with the sample code as is ?
thanks
Zim
I have no experience with i2C. Should this work with the sample code as is ?
thanks
Zim
- Electroguard
- Posts: 890
- Joined: Mon Feb 08, 2021 6:22 pm
- Has thanked: 287 times
- Been thanked: 329 times
Re: Will Annex support this?
The sample ' LCD.INIT 63, 20, 4' assumes an address of 63 (3F) and a display of 20 characters per line with 4 lines of characters.[Local Link Removed for Guests] wrote: [Local Link Removed for Guests]Sat Feb 10, 2024 1:10 am I found this in my junk box. when I do a I2C scan, it comes up with "found 39 27"
I have no experience with i2C. Should this work with the sample code as is ?
So if you have a 2 line display, they are only 16 characters long, and if your 'found' address is 39 (27), then your INIT should be:
LCD INIT 39, 16, 2
You should then be able to LCD.PRINT lines up to 16 chars long to lines 1 and 2.
Re: Will Annex support this?
Thanks for the reply Electroguard
This is what I get...
Code: [Local Link Removed for Guests]
I2C.SETUP 21, 22 ' set I2C port on pins 21 and 22
LCD.INIT 39, 16, 2
LCD.CLS ' clear the screen of the LCD
'print a message on the LCD at the first char of the first line
LCD.PRINT 1, 1, "HELLO WORLD"
wait
This is what I get...
You do not have the required permissions to view the files attached to this post.