Smart weather station #Day3_AMEBAIOT

This smart weather station can be kept on your desk.
it has a display which shows :-
Time and date
Weather
Sunset timing
Wind speed
It looks awesome on your desk.
Here is the short video.

https://www.instagram.com/p/CIW5hIWhjBl/?utm_source=ig_web_copy_link

1 Like

I am interested to use a P10 DMD dotmatrix display (https://github.com/freetronics/DMD20 to show the data. Is there a display library for Ameba? Thank you.

@sia_laichai
Hi if you are refering to the dotmatrix and library used in this link

I think there is a good chance you can run this library directly on Ameba since only standard SPI interface is used.

There was a compilation error when I tried the DMD demo. Appears to be coming from TimerOne.

WARNING: library TimerOne claims to run on avr architecture(s) and may be incompatible with your current board which runs on AmebaD architecture(s).

C:\Users\User\Documents\Arduino\libraries\TimerOne/TimerOne.h:48:2: error: ‘TCCR1B’ was not declared in this scope
TCCR1B = _BV(WGM13); // set mode as phase and frequency correct pwm, stop the timer
^~~~~~
C:\Users\User\Documents\Arduino\libraries\TimerOne/TimerOne.h:48:15: error: ‘WGM13’ was not declared in this scope
TCCR1B = _BV(WGM13); // set mode as phase and frequency correct pwm, stop the timer
^~~~~
C:\Users\User\Documents\Arduino\libraries\TimerOne/TimerOne.h:48:20: error: ‘_BV’ was not declared in this scope
TCCR1B = _BV(WGM13); // set mode as phase and frequency correct pwm, stop the timer
^

etc…

1 Like

This seems to be an incompatibility issue… have to look into the code to know what’s going on