ok. Does sub-module not allow you to make changes and submit pull-requests ?
If not, then I guess I could fork your repo, and do a sub-module from my fork, and if there are any changes I think are worthy of pushing upstream then I can submit a pull-request from my fork.
Search found 33 matches
- Sun Dec 18, 2016 2:49 am
- Forum: Programs, Libraries and Tools
- Topic: lcd module that supports i2c interface
- Replies: 11
- Views: 11778
- Sun Dec 18, 2016 1:39 am
- Forum: Programs, Libraries and Tools
- Topic: lcd module that supports i2c interface
- Replies: 11
- Views: 11778
Re: lcd module that supports i2c interface
David (@dhylands),
I want to add your lcd code to my github micropython page, and provide some examples that use my keyboard modules, etc.
https://github.com/BrendanSimon/micropython_experiments
What's the best way to do that? A git sub-module?
Thanks, Brendan.
I want to add your lcd code to my github micropython page, and provide some examples that use my keyboard modules, etc.
https://github.com/BrendanSimon/micropython_experiments
What's the best way to do that? A git sub-module?
Thanks, Brendan.
- Sun Dec 18, 2016 1:20 am
- Forum: Programs, Libraries and Tools
- Topic: lcd module that supports i2c interface
- Replies: 11
- Views: 11778
Re: lcd module that supports i2c interface
I actually ran your test code on my board, modified test app for 4x20 display, and it works great. It is noticeably faster that the `charlcd` module that I ported, so now I don't feel the urgent need for a `machine.IC2.write(buf)` implementation :) A `machine.I2C.write(buf)` implementation may not ...
- Sat Dec 17, 2016 11:53 am
- Forum: General Discussion and Questions
- Topic: Here are some 16-key (4x4 matrix) keypad examples
- Replies: 0
- Views: 9039
Here are some 16-key (4x4 matrix) keypad examples
Hi, I have some examples on github for reading a 16-key (4x4 matrix) keypad. https://github.com/BrendanSimon/micropython_experiments The first example, `keypad_timer.py` uses a timer callback (interrupt) to do the row scanning and processing. The second example, `keypad_uasyncio` uses a coroutine (...
- Wed Dec 14, 2016 10:46 am
- Forum: Programs, Libraries and Tools
- Topic: lcd module that supports i2c interface
- Replies: 11
- Views: 11778
Re: lcd module that supports i2c interface
Yes, it is compatible with the HD44780. It has the backpack with the i2c port expander on it. I had a look at your code and it looks well designed, however it uses the same approach as `charlcd`, which writes each byte one-by-one from Python land. I was looking for something that might use the machi...
- Sun Dec 11, 2016 9:43 am
- Forum: Programs, Libraries and Tools
- Topic: lcd module that supports i2c interface
- Replies: 11
- Views: 11778
Re: lcd module that supports i2c interface
I can see how my question is a little confusing. What I was asking about was a Python module for controlling an LCD with an I2C interface. I have a 2004A LCD that I purchased on eBay and it uses I2C (the ebay headline mentions SPI/I2C, but it only supports I2C :( ) I got it working the `charlcd` pyt...
- Fri Dec 09, 2016 12:32 pm
- Forum: Programs, Libraries and Tools
- Topic: lcd module that supports i2c interface
- Replies: 11
- Views: 11778
lcd module that supports i2c interface
Is there a good LCD module that works with the I2C interface ? I found `charlcd` on PyPI and it supports various interfaces (parallel and i2c) on Linux. I ported it to work with MicroPython. It works, but it is quite slow. I can see the characters being printed on a 20x4 display. The implementation ...
- Fri Dec 09, 2016 12:20 pm
- Forum: Other Boards
- Topic: Olimex STM32-E407
- Replies: 12
- Views: 13750
Re: Olimex STM32-E407
In the F4 Cube directory `STM32Cube_FW_F4_V1.13.0`, there are lots of `ethernetif.c` files.
Example:
`./Projects/STM32469I_EVAL/Applications/LwIP/LwIP_UDP_Echo_Client/Src/ethernetif.c`
Looks like they'd make a great basis for porting to the 407.
Example:
`./Projects/STM32469I_EVAL/Applications/LwIP/LwIP_UDP_Echo_Client/Src/ethernetif.c`
Looks like they'd make a great basis for porting to the 407.
- Fri Dec 09, 2016 11:49 am
- Forum: Other Boards
- Topic: Olimex STM32-E407
- Replies: 12
- Views: 13750
Re: Olimex STM32-E407
There is a skeleton file `lib/lwip/src/netif/ethernetif.c` which looks like it should be copied somewhere, renamed to something relevant to the stmhal or 407. e.g. stmethif.c or stmf4ethif.c or stmf407ethif.c Then modifiy it to call the low level functions which should be in the F4 STM32Cube librari...
- Fri Dec 09, 2016 11:21 am
- Forum: Other Boards
- Topic: Olimex STM32-E407
- Replies: 12
- Views: 13750
Re: Olimex STM32-E407
What is a "PR". Problem Report? I had a quick look at `drivers/wiznet5k/`, which provides and ethernet interface via the SPI interface. I think it is accessed via the `socket` interface in the `ethernet` directory. I'm assuming it uses the onboard tcp/ip interface on the the W5500 chip, rather than ...