There must be something wrong with me. It's probably something I am not seeing right now and need someone else to look at. So what I did was 'porting' my project that I was working on earlier called Comodi, to the MVC framework, well kinda. So I begin with my bootstrap class and comodi.py that starts it all. I try to test it, but it isn't constructing my constructor in my Bootstrap class.
Bootstrap.py located in libs/
import libs.Bootstrap as libs_bootstrap
print 'Starting bootstrap...'
Bootstrap = libs_bootstrap.Bootstrap
After a couple of checks just to be sure I found the following:
import models.lcd as model_lcd
lcd = model_lcd.Adafruit_CharLCD()
lcd.lines('', ['Welcome to Comodi', True], ['Loading...', True])
- It is reading through the Bootstrap.py, it doesn't hang.
- All of the modules are imported correctly.
I do not get the output that I should get from the Bootstrap class (the print method doesn't fire, neither does the lcd show anything)
Here are all the files and directories
- LCD info.txt