Search found 34 matches

by gcarver
Tue Nov 04, 2014 3:04 am
Forum: Development of MicroPython
Topic: help() not implemented in unix/windows builds
Replies: 5
Views: 5440

help() not implemented in unix/windows builds

Is there a reason help() was not implemented in the Unix and Windows builds? I added it to my windows build and it seems to work OK.
by gcarver
Wed Oct 29, 2014 4:15 am
Forum: General Discussion and Questions
Topic: Sainsmart ST7735 LCD display
Replies: 6
Views: 8876

Re: Sainsmart ST7735 LCD display

Thanks for the help. It was invaluable. I now have everything working! I was not controlling CS as I thought the SPI module was doing that. However the documentation states that the NSS pin is not used and I'm pretty sure that is synonymous with CS. The phase also needed to be 1 and I finally figure...
by gcarver
Sun Oct 26, 2014 5:00 am
Forum: General Discussion and Questions
Topic: Sainsmart ST7735 LCD display
Replies: 6
Views: 8876

Sainsmart ST7735 LCD display

I'm attempting to write a driver for this display but it does not work at the moment. I was hoping I could get some help on what the SPI settings for this hardware should be. My code is here: https://github.com/GuyCarver/MicroPython/blob/master/ST7735.py The datasheet for the hardware is here: http:...
by gcarver
Sun Oct 26, 2014 4:27 am
Forum: Hardware Projects
Topic: Library for HC-SR04 and SRF04 ultrasonic sensors
Replies: 2
Views: 12345

Re: Library for HC-SR04 and SRF04 ultrasonic sensors

I got my HC-SR04 working thank you very much. However I did have to make a change. I found that if there was nothing withing about 15 inches of the sensor I would end up in an endless loop waiting for the echo value to go to 0. I added a loop limit of 1000 iterations and that fixed the deadlock. Als...